openai: Update reasoning_effort arg documentation (#29897)

**Description:** Update docstring for `reasoning_effort` argument to
specify that it applies to reasoning models only (e.g., OpenAI o1 and
o3-mini), clarifying its supported models.
**Issue:** None
**Dependencies:** None
This commit is contained in:
Hankyeol Kyung 2025-02-20 23:03:42 +09:00 committed by GitHub
parent c28ee329c9
commit 2dd0ce3077
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -439,7 +439,7 @@ class BaseChatOpenAI(BaseChatModel):
reasoning_effort: Optional[str] = None
"""Constrains effort on reasoning for reasoning models.
o1 models only.
Reasoning models only, like OpenAI o1 and o3-mini.
Currently supported values are low, medium, and high. Reducing reasoning effort
can result in faster responses and fewer tokens used on reasoning in a response.