Skip to content

Specifying model_provider for each Agent #1137

@qqaatw

Description

@qqaatw

Hello,

For now, the model_provider argument can only be passed to Runner.run, which is alright in cases where all the handoff agents use the same api_key and api_version.

In our use cases, we have different api_keys and api_versions for gpt and reasoning models, and we want to combine these models to build a multi-agent system with agent handoffs.

Ideally, we would like to be able to provide different model providers for each agent rather than a global model provider. Any input is appreciated.

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