mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-26 08:33:49 +00:00
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:
parent
c28ee329c9
commit
2dd0ce3077
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user