So I am building a pipeline, which is like
ManagerAgent -> AgentTool ( LoopAgent( solution_agent with a tool to retrieve solution + Validator Agent ] )
I am setting include_contents = 'none' in both of the sub agents in LoopAgent, cause i want both of the Agents to be run independently.
i am hydrating my states with necessary information for my subagents to be capable enough to produce an output.
but when my loop is on its second iteration, the pipeline breaks after solution_agent gets the response from retrieval tool (as i am explicitly prompted my agent to always call the tool) and the error i am thrown is
google.genai.errors.ClientError: 400 INVALID_ARGUMENT. {'error': {'code': 400, 'message': 'Unable to submit request because it must have a text parameter. Add a text parameter and try again. Learn more: https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/gemini', 'status': 'INVALID_ARGUMENT'}}\
Please help !!