Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8d61cd3

Browse files
Bot UI: LLM selector - display comment field
1 parent 6632429 commit 8d61cd3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

‎ui/packages/platform/src/pages/Bot/SettingsDialog/SettingsDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ export const SettingsDialog = (props: PublicChatDialogProps) => {
356356
key={`${model.vendor}/${model.name}`}
357357
value={`${model.vendor}/${model.name}`}
358358
control={<Radio />}
359-
label={model.name}
359+
label={`${model.name}${model.comment ? model.comment : ''}`}
360360
/>
361361
)
362362
}

‎ui/packages/platform/src/types/api/entities/bot.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export type BotMessageWithDebugInfo = BotMessage & {
3030
}
3131

3232
export type AiModel = {
33+
comment: string;
3334
name: string;
3435
vendor: string;
3536
isThirdParty: boolean;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /