-
-
Notifications
You must be signed in to change notification settings - Fork 0
feat:Update documentation for safety_mode and tools parameters in Chat V2 API #210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughThe update modifies the OpenAPI specification for the Cohere Chat V2 API by revising the documentation strings for the Changes
Poem
✨ Finishing Touches🧪 Generate Unit Tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (2)
src/libs/Cohere/openapi.yaml (2)
7462-7462: Grammar: Add missing preposition "with"
In thesafety_modedescription, the phrase "only compatible newer Cohere models" should read "only compatible with newer Cohere models".Example diff:
- **Note**: This parameter is only compatible newer Cohere models... + **Note**: This parameter is only compatible with newer Cohere models...
7509-7509: Consider using YAML block scalar for multi-line descriptions
To improve readability and make editing easier, switch from embedded\nescapes to the|literal block style for these long descriptions.Example:
description: | A list of available tools (functions) that the model may suggest invoking before producing a text response. The tool definition follows the JSON Schema with the following fields: `name`, `parameters`, and `description`.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (4)
src/libs/Cohere/Generated/Cohere.CohereClient.Chatv2.g.csis excluded by!**/generated/**src/libs/Cohere/Generated/Cohere.ICohereClient.Chatv2.g.csis excluded by!**/generated/**src/libs/Cohere/Generated/Cohere.Models.Chatv2Request.g.csis excluded by!**/generated/**src/libs/Cohere/Generated/Cohere.Models.Chatv2RequestSafetyMode.g.csis excluded by!**/generated/**
📒 Files selected for processing (1)
src/libs/Cohere/openapi.yaml(2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (1)
- GitHub Check: Test / Build, test and publish
🔇 Additional comments (1)
src/libs/Cohere/openapi.yaml (1)
7459-7512: Documentation updates look good overall.
The revised parameter descriptions improve clarity and align with existing style conventions without altering functionality.
Pull request was closed
Summary by CodeRabbit