Skip to content

Allow configuration of Reasoning_Effort on modelSettings #189

Closed
@exiao

Description

@exiao

Reasoning models are the best for getting the most accurate result, but they take forever. I'd like to specify the reasoning_effort to be low, like such:

agent = Agent(
        name="",
        instructions="",
        model="o3-mini",
        model_settings=ModelSettings(parallel_tool_calls=True, truncation="auto", reasoning_effort="low"),
        tools=[]
)

https://platform.openai.com/docs/guides/reasoning?api-mode=responses

But it is not available on ModelSettings
https://openai.github.io/openai-agents-python/ref/model_settings/

This is model_settings.py
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions