Skip to content

ERROR: transfer_to_agent() got an unexpected keyword argument 'prompt', sometime argument 'user_request', argument #1786

@momo-tuannguyen12

Description

@momo-tuannguyen12

RootAgent

  • agent_1
  • agent_2
  • agent_3

First request: session_id_1
User -> RootAgent -> agent_1

Second request in the session_id_1
User -> agent_1 (dont know why it doesnt go through RootAgent again) because "not sure agent_1 can handle new request". I see data record in the database session, Root Agent directly request to agent_1 without use instruction to have a better direction.

Third request in the session_id_1
User -> agent_1 (no tool handle) -> transfer to agent: agent_2

ERROR: transfer_to_agent() got an unexpected keyword argument 'prompt', sometime argument 'user_request', argument 'message'.

And I also have 1 question, how make request alway go through RootAgent ?
Because agent_1 will reply me like: "I can not handle this request, would you like to transfer to agent 2 to handle it"

Metadata

Metadata

Assignees

Labels

bot triaged[Bot] This issue is triaged by ADK botcore[Component] This issue is related to the core interface and implementation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions