Conversation
Subject-verb agreement: 'Model does not exists or is not an LLM model' -> 'Model does not exist ...' in the tool and chat serializers.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
动机 / 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:1643apps/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.