mirror of
https://github.com/langchain-ai/langchain.git
synced 2026-10-14 05:39:23 +03:00
1 parent
83718b1129
commit
aac258eaaa
1 file changed
+2
-2
@@ -742,13 +742,13 @@ class BaseChatOpenAI(BaseChatModel):
|
||||
"""
|
||||
|
||||
reasoning: dict[str, Any] | None = None
|
||||
"""Reasoning parameters for reasoning models.
|
||||
"""Reasoning parameters for reasoning models. None disables reasoning.
|
||||
|
||||
For use with the Responses API.
|
||||
|
||||
```python
|
||||
reasoning={
|
||||
"effort": "medium", # Can be "low", "medium", or "high"
|
||||
"effort": None, # Default None; can be "low", "medium", or "high"
|
||||
"summary": "auto", # Can be "auto", "concise", or "detailed"
|
||||
}
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user