Skip to content

[Feature] Add reasoning parameter to reasoning models #8796

@Sharath1036

Description

@Sharath1036

What feature would you like to see?

Image

dspy.LM takes parameters such as temperature, max_tokens, etc., for LMs as per the LiteLLM format. For reasoning models, they have a parameter called "reasoning" with which we can toggle the reasoning effort. I use reasoning models frequently and require low reasoning effort. So would love this parameter to be added in dspy.LM!

Would you like to contribute?

  • Yes, I'd like to help implement this.
  • No, I just want to request it.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions