-
Notifications
You must be signed in to change notification settings - Fork 125
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
Remove field reasoning_content
from AssistantChatMessage
#11481
Conversation
This reverts commit 5043aff.
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.
LGTM
@@ -102,12 +102,6 @@ struct AnthropicContent { | |||
#[serde(skip_serializing_if = "Option::is_none")] | |||
text: Option<String>, | |||
|
|||
#[serde(skip_serializing_if = "Option::is_none")] |
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.
not sure I follow that diff?
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.
didn't need these 2 since we never need to parse back thinking tokens from ChatMessages
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.
right I thought they were already gone 👍
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.
yy I forgot to commit on the previous PR 😬
Description
core
(delimiters for Sonnet 3.5 and Deepseek R1, AFAICT not passed for o3 and o1).reasoning_content
field fromAssistantChatMessage
, which was specific to Deepseek's API (and inherited in Fireworks), and not used infront
.AnthropicContent
.Risk
Deploy Plan