Skip to content

Allow specifying reasoning effort for supporting models #696

@VladiKrapp-Arm

Description

@VladiKrapp-Arm

Some of the OpenAI models (e.g. o4-mini) can accept an additional parameter that controls the effort it spends on reasoning.
It would be good to be able to provide this parameter when using sgpt.

I have hacked a local implementation that shows it's possible, but not sure when I will have time to open a PR.

Documentation on the reasoning effort feature:
https://platform.openai.com/docs/guides/reasoning/advice-on-prompting?api-mode=responses#get-started-with-reasoning

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions