Skip to content

Commit

Permalink
Apply text improvements from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Philip Langer <[email protected]>
  • Loading branch information
sdirix and planger authored Sep 17, 2024
1 parent 3784686 commit 4d97715
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/ai-openai/src/browser/openai-preferences.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const OpenAiPreferencesSchema: PreferenceSchema = {
type: 'array',
title: AI_CORE_PREFERENCES_TITLE,
markdownDescription: 'Integrate custom models compatible with the OpenAI API, for example via `vllm`. The required attributes are `model` and `url`.\
Optionally, you can provide an unique `id` to identify the custom model in the UI. If none is given `model` will be used as `id`',
Optionally, you can provide a unique `id` to identify the custom model in the UI. If none is given `model` will be used as `id`',
default: [],
items: {
type: 'object',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class OpenAiLanguageModelsManagerImpl implements OpenAiLanguageModelsMana
continue;
}
if (!modelDescription.url) {
// This seems to be an official model, but it was already created. This can happen during the initializing of more than one frontends.
// This seems to be an official model, but it was already created. This can happen during the initializing of more than one frontend.
console.info(`Open AI: skip creating model ${modelDescription.id} because it already exists`);
continue;
}
Expand Down

0 comments on commit 4d97715

Please sign in to comment.