-
Notifications
You must be signed in to change notification settings - Fork 15.8k
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
openai[patch]: type reasoning_effort #28825
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
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.
I'm ignorant on this but what is state of o1 support in AzureChatOpenAI?
@@ -454,6 +454,16 @@ class BaseChatOpenAI(BaseChatModel): | |||
"""Total probability mass of tokens to consider at each step.""" | |||
max_tokens: Optional[int] = Field(default=None) | |||
"""Maximum number of tokens to generate.""" | |||
reasoning_effort: Optional[str] = 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.
should we type as literal?
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.
doesn't seem super high value? esp if we care about being forwards compatible
not sure, but nothing gets passed unless explicitly specified |
No description provided.