Skip to content

fix: correct 'does not exists' in two model error messages - #7075

Open
simpleqt wants to merge 1 commit into
1Panel-dev:v2from
simpleqt:sq916/model-not-exists
Open

simpleqt wants to merge 1 commit into
1Panel-dev:v2from
simpleqt:sq916/model-not-exists

Conversation

@simpleqt

Copy link
Copy Markdown

动机 / Motivation

The model-validation error raised on the chat/tool execution paths reads "Model does not exists or is not an LLM model" — subject-verb agreement. Fixed to "Model does not exist ..." in both spots:

  • apps/tools/serializers/tool.py:1643
  • apps/chat/serializers/chat.py:188

已完成的测试 / Testing

grep -rn "does not exists" apps/ returns nothing after the change; the string is not yet present in the .po catalogs, so no translation keys are affected.

Subject-verb agreement: 'Model does not exists or is not an LLM model'
-> 'Model does not exist ...' in the tool and chat serializers.
Copilot AI lite review requested due to automatic review settings September 16, 2026 16:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants