Skip to content

"agent.as_tool" not working with Gemini #243

Open
@aasherkamal216

Description

@aasherkamal216

I have created 3 agents and passed them to an orchestrator agent as tools. But when orchestrator tries to call these agents (tools), it says an error occurred.

Did anybody else face similar issue with "agent.as_tool"??
(I am using google gemini 2.0 flash)

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionQuestion about using the SDK

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions