Skip to content

Commit

Permalink
Merge branch 'bot_ui_llm_model_comment' into 'master'
Browse files Browse the repository at this point in the history
Bot UI: LLM selector - display comment field

See merge request postgres-ai/database-lab!892
  • Loading branch information
Bogdan Tsechoev committed Dec 11, 2024
2 parents 6632429 + 8d61cd3 commit 2f6daad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ export const SettingsDialog = (props: PublicChatDialogProps) => {
key={`${model.vendor}/${model.name}`}
value={`${model.vendor}/${model.name}`}
control={<Radio />}
label={model.name}
label={`${model.name} ${model.comment ? model.comment : ''}`}
/>
)
}
Expand Down
1 change: 1 addition & 0 deletions ui/packages/platform/src/types/api/entities/bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export type BotMessageWithDebugInfo = BotMessage & {
}

export type AiModel = {
comment: string;
name: string;
vendor: string;
isThirdParty: boolean;
Expand Down

0 comments on commit 2f6daad

Please sign in to comment.