-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
Error Details
Repository Error
Type: REPOSITORY
Message: CodebaseWorkflowError: 1 codebase(s) failed during agent execution
Stack Trace
Traceback (most recent call last):
File "/app/src/unoplat_code_confluence_query_engine/services/temporal/interceptors/agent_workflow_interceptor.py", line 225, in _handle_repository_workflow
result = await self.next.execute_workflow(input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.13/site-packages/temporalio/worker/_workflow_instance.py", line 2776, in execute_workflow
return await input.run_fn(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/src/unoplat_code_confluence_query_engine/services/temporal/temporal_workflows.py", line 475, in run
raise ApplicationError(
...<4 lines>...
)
temporalio.exceptions.ApplicationError: CodebaseWorkflowError: 1 codebase(s) failed during agent execution
Metadata
{
"type": "CodebaseWorkflowError",
"details": [
[
{
"error": "Child Workflow execution failed",
"codebase": "frontend"
}
]
],
"non_retryable": true,
"next_retry_delay": null
}Codebase Errors (1 failed)
frontend
Message: AgentExecutionError: Agent execution failed for 1 agent(s) in codebase 'frontend'
Traceback (most recent call last):
File "/app/src/unoplat_code_confluence_query_engine/services/temporal/interceptors/agent_workflow_interceptor.py", line 357, in _handle_codebase_workflow
result = await self.next.execute_workflow(input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.13/site-packages/temporalio/worker/_workflow_instance.py", line 2776, in execute_workflow
return await input.run_fn(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/src/unoplat_code_confluence_query_engine/services/temporal/temporal_workflows.py", line 315, in run
raise ApplicationError(
...<4 lines>...
)
temporalio.exceptions.ApplicationError: AgentExecutionError: Agent execution failed for 1 agent(s) in codebase 'frontend'
Metadata
{
"type": "AgentExecutionError",
"details": [
[
{
"agent": "project_configuration_agent",
"error": "Tool 'get_directory_tree' exceeded max retries count of 1",
"codebase": "frontend",
"traceback": "Traceback (most recent call last):\n File \"/app/.venv/lib/python3.13/site-packages/pydantic_ai/_tool_manager.py\", line 175, in _call_tool\n return await self.toolset.call_tool(name, args_dict, ctx, tool)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.13/site-packages/pydantic_ai/toolsets/combined.py\", line 90, in call_tool\n return await tool.source_toolset.call_tool(name, tool_args, ctx, tool.source_tool)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.13/site-packages/pydantic_ai/toolsets/combined.py\", line 90, in call_tool\n return await tool.source_toolset.call_tool(name, tool_args, ctx, tool.source_tool)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.13/site-packages/pydantic_ai/durable_exec/temporal/_function_toolset.py\", line 80, in call_tool\n return self._unwrap_call_tool_result(\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^\n await workflow.execute_activity(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n ...<11 lines>...\n )\n ^\n )\n ^\n File \"/app/.venv/lib/python3.13/site-packages/pydantic_ai/durable_exec/temporal/_toolset.py\", line 107, in _unwrap_call_tool_result\n raise ModelRetry(result.message)\npydantic_ai.exceptions.ModelRetry: eza not installed. Install via: brew install eza (macOS) or apt install eza (Ubuntu) or visit https://github.com/eza-community/eza for other platforms.\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n File \"/app/src/unoplat_code_confluence_query_engine/services/temporal/temporal_workflows.py\", line 132, in run\n config_result = await temporal_agents[\n ^^^^^^^^^^^^^^^^^^^^^^\n ...<5 lines>...\n )\n ^\n File \"/app/.venv/lib/python3.13/site-packages/pydantic_ai/durable_exec/temporal/_agent.py\", line 392, in run\n return await super().run(\n ^^^^^^^^^^^^^^^^^^\n ...<15 lines>...\n )\n ^\n File \"/app/.venv/lib/python3.13/site-packages/pydantic_ai/agent/abstract.py\", line 270, in run\n await event_stream_handler(_agent_graph.build_run_context(agent_run.ctx), stream)\n File \"/app/.venv/lib/python3.13/site-packages/pydantic_ai/durable_exec/temporal/_agent.py\", line 233, in _call_event_stream_handler_activity\n async for event in stream:\n ...<10 lines>...\n )\n File \"/app/.venv/lib/python3.13/site-packages/pydantic_ai/_agent_graph.py\", line 714, in _run_stream\n async for event in self._events_iterator:\n yield event\n File \"/app/.venv/lib/python3.13/site-packages/pydantic_ai/_agent_graph.py\", line 675, in _run_stream\n async for event in self._handle_tool_calls(ctx, tool_calls):\n yield event\n File \"/app/.venv/lib/python3.13/site-packages/pydantic_ai/_agent_graph.py\", line 730, in _handle_tool_calls\n async for event in process_tool_calls(\n ...<8 lines>...\n yield event\n File \"/app/.venv/lib/python3.13/site-packages/pydantic_ai/_agent_graph.py\", line 973, in process_tool_calls\n async for event in _call_tools(\n ...<10 lines>...\n yield event\n File \"/app/.venv/lib/python3.13/site-packages/pydantic_ai/_agent_graph.py\", line 1109, in _call_tools\n if event := await handle_call_or_result(coro_or_task=task, index=index):\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.13/site-packages/pydantic_ai/_agent_graph.py\", line 1072, in handle_call_or_result\n (await coro_or_task) if inspect.isawaitable(coro_or_task) else coro_or_task.result()\n ^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.13/site-packages/pydantic_ai/_agent_graph.py\", line 1145, in _call_tool\n tool_result = await tool_manager.handle_call(tool_call)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/app/.venv/lib/python3.13/site-packages/pydantic_ai/_tool_manager.py\", line 119, in handle_call\n return await self._call_function_tool(\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n ...<8 lines>...\n )\n ^\n File \"/app/.venv/lib/python3.13/site-packages/pydantic_ai/_tool_manager.py\", line 252, in _call_function_tool\n tool_result = await self._call_tool(\n ^^^^^^^^^^^^^^^^^^^^^^\n ...<4 lines>...\n )\n ^\n File \"/app/.venv/lib/python3.13/site-packages/pydantic_ai/_tool_manager.py\", line 181, in _call_tool\n raise UnexpectedModelBehavior(f'Tool {name!r} exceeded max retries count of {max_retries}') from e\npydantic_ai.exceptions.UnexpectedModelBehavior: Tool 'get_directory_tree' exceeded max retries count of 1\n"
}
]
],
"non_retryable": true,
"next_retry_delay": null
}Additional Information
Workflow Information
- Repository: fastapi/full-stack-fastapi-template