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 2f6daad

Browse files
Merge branch 'bot_ui_llm_model_comment' into 'master'
Bot UI: LLM selector - display comment field See merge request postgres-ai/database-lab!892
2 parents 6632429 + 8d61cd3 commit 2f6daad

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 によって変換されたページ (->オリジナル) /