DEV: update display name field in AiLlmEditorForm to show more relevant tooltip (#1166)

This commit is contained in:
Kelv 2025-03-05 16:49:19 +08:00 committed by GitHub
parent 584f5f2b6e
commit b49d454ad9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -275,7 +275,7 @@ export default class AiLlmEditorForm extends Component {
@validation="required|length:1,100"
@disabled={{this.seeded}}
@format="large"
@tooltip={{i18n "discourse_ai.llms.hints.max_prompt_tokens"}}
@tooltip={{i18n "discourse_ai.llms.hints.display_name"}}
as |field|
>
<field.Input />

View File

@ -432,6 +432,7 @@ en:
hints:
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."
display_name: "The name used to reference this model across your site's interface."
name: "We include this in the API call to specify which model we'll use"
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."
enabled_chat_bot: "If enabled, users can select this model when creating PMs with the AI bot"