I am currently trying to transition from one agent...
# server-api
t
I am currently trying to transition from one agent to another with agent one using this:
return InterviewAssistantPart2(chat_ctx=self.chat_ctx), f"Part {self.part} of the interview complete, moving to part {self.part + 1}."
to transition to agent two but I noticed that if I leave the response str as part of the tuple the agent responds to agent 1 final tool call but then never starts the conversation with agent 2 nor does it seem to know about the agent 2 parameters. Only when I remove the closeing str tool response like so:
return InterviewAssistantPart2(chat_ctx=self.chat_ctx)
does it transition effectively to the next agent with the agent responding and initiating the conversation with clear knowledge of agent 2 (itself) context