Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit b49d454

Browse files
authored
DEV: update display name field in AiLlmEditorForm to show more relevant tooltip (#1166)
1 parent 584f5f2 commit b49d454

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

assets/javascripts/discourse/components/ai-llm-editor-form.gjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ export default class AiLlmEditorForm extends Component {
275275
@validation="required|length:1,100"
276276
@disabled={{this.seeded}}
277277
@format="large"
278-
@tooltip={{i18n "discourse_ai.llms.hints.max_prompt_tokens"}}
278+
@tooltip={{i18n "discourse_ai.llms.hints.display_name"}}
279279
as |field|
280280
>
281281
<field.Input />

config/locales/client.en.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,7 @@ en:
432432

433433
hints:
434434
max_prompt_tokens: "Max numbers of tokens for the prompt. As a rule of thumb, this should be 50% of the model's context window."
435+
display_name: "The name used to reference this model across your site's interface."
435436
name: "We include this in the API call to specify which model we'll use"
436437
vision_enabled: "If enabled, the AI will attempt to understand images. It depends on the model being used supporting vision. Supported by latest models from Anthropic, Google, and OpenAI."
437438
enabled_chat_bot: "If enabled, users can select this model when creating PMs with the AI bot"

0 commit comments

Comments
 (0)