chore(docs): update comment for chatopenai (#37034)

Fixes DOC-526
This commit is contained in:
Lauren Hirata Singh
2026-04-27 11:43:57 -04:00
committed by GitHub
parent 83718b1129
commit aac258eaaa

View File

@@ -742,13 +742,13 @@ class BaseChatOpenAI(BaseChatModel):
""" """
reasoning: dict[str, Any] | None = None 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. For use with the Responses API.
```python ```python
reasoning={ 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" "summary": "auto", # Can be "auto", "concise", or "detailed"
} }
``` ```