Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

How to make a LiteLLM models run in Reasoning mode #671

Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
@LuSrodri

Description

@LuSrodri
Issue body actions

How to make the LiteLLM models run in Reasoning mode?
I saw that exists the reasoning prop, but it doesn't clear to use...

model = LitellmModel(model="gemini/gemini-2.5-pro-preview-05-06", api_key=GEMINI_API_KEY)

agent= Agent[Context](
        name="An Agent",
        model=gemini_model,
        instructions=f"""
           Useful Agent
        """,
        model_settings=ModelSettings(tool_choice="auto", reasoning="????")
    )

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionQuestion about using the SDKQuestion about using the SDKstale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.