feat:Add optional error property to ChatMessageEndEvent delta in OpenAPI spec#178
feat:Add optional error property to ChatMessageEndEvent delta in OpenAPI spec#178
Conversation
WalkthroughThe OpenAPI specification file for the Cohere API was updated. Specifically, the Changes
Poem
Tip ⚡💬 Agentic Chat (Pro Plan, General Availability)
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:
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.
Actionable comments posted: 0
🧹 Nitpick comments (1)
src/libs/Cohere/openapi.yaml (1)
11801-11805: Add optionalerrorproperty toChatMessageEndEvent.delta.This update correctly surfaces generation errors in streamed chat events. Ensure that any downstream codegen, SDKs, and documentation are updated to handle this new optional field.
As a minor refinement, you may remove the trailing newline in the description for clarity:
- description: "An error message if an error occurred during the generation.\n" + description: "An error message if an error occurred during the generation."
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
src/libs/Cohere/Generated/Cohere.Models.ChatMessageEndEventVariant2Delta.g.csis excluded by!**/generated/**
📒 Files selected for processing (1)
src/libs/Cohere/openapi.yaml(1 hunks)
Summary by CodeRabbit