mirror of
https://github.com/run-llama/llama_deploy.git
synced 2026-08-24 21:01:26 -04:00
use llama3.1 error #74
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rechjq on GitHub (Aug 16, 2024).
code:
errors:
NFO:llama_agents.services.agent - secret_fact_agent launch_local
INFO:llama_agents.services.agent - dumb_fact_agent launch_local
INFO:llama_agents.message_queues.base - Publishing message to 'control_plane' with action 'new_task'
INFO:llama_agents.message_queues.simple - Launching message queue locally
INFO:llama_agents.services.agent - Processing initiated.
INFO:llama_agents.services.agent - Processing initiated.
INFO:llama_agents.message_queues.base - Publishing message to 'secret_fact_agent' with action 'new_task'
INFO:llama_agents.message_queues.simple - Successfully published message 'control_plane' to consumer.
INFO:llama_agents.services.agent - Created new task: 5cfa51c0-00e4-459c-86eb-93b4ee70fbf7
INFO:llama_agents.message_queues.simple - Successfully published message 'secret_fact_agent' to consumer.
ERROR:llama_agents.services.agent - Error in secret_fact_agent processing_loop: Reached max iterations.
Shutting down.
Task exception was never retrieved
future: <Task cancelling name='Task-2' coro=<AgentService.processing_loop() done, defined at /home/wjq/.local/lib/python3.10/site-packages/llama_agents/services/agent.py:215> exception=SystemExit(0)>
Traceback (most recent call last):
File "/home/wjq/.local/lib/python3.10/site-packages/llama_agents/services/agent.py", line 234, in processing_loop
step_output = await self.agent.arun_step(task_id)
File "/home/wjq/.local/lib/python3.10/site-packages/llama_index/core/instrumentation/dispatcher.py", line 290, in async_wrapper
result = await func(*args, **kwargs)
File "/home/wjq/.local/lib/python3.10/site-packages/llama_index/core/agent/runner/base.py", line 493, in arun_step
return await self._arun_step(
File "/home/wjq/.local/lib/python3.10/site-packages/llama_index/core/instrumentation/dispatcher.py", line 290, in async_wrapper
result = await func(*args, **kwargs)
File "/home/wjq/.local/lib/python3.10/site-packages/llama_index/core/agent/runner/base.py", line 453, in _arun_step
cur_step_output = await self.agent_worker.arun_step(step, task, **kwargs)
File "/home/wjq/.local/lib/python3.10/site-packages/llama_index/core/instrumentation/dispatcher.py", line 290, in async_wrapper
result = await func(*args, **kwargs)
File "/home/wjq/.local/lib/python3.10/site-packages/llama_index/core/callbacks/utils.py", line 56, in async_wrapper
return await func(self, *args, **kwargs)
File "/home/wjq/.local/lib/python3.10/site-packages/llama_index/core/agent/react/step.py", line 788, in arun_step
return await self._arun_step(step, task)
File "/home/wjq/.local/lib/python3.10/site-packages/llama_index/core/agent/react/step.py", line 612, in _arun_step
agent_response = self._get_response(
File "/home/wjq/.local/lib/python3.10/site-packages/llama_index/core/agent/react/step.py", line 434, in _get_response
raise ValueError("Reached max iterations.")
ValueError: Reached max iterations.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.10/asyncio/base_events.py", line 636, in run_until_complete
self.run_forever()
File "/usr/lib/python3.10/asyncio/base_events.py", line 603, in run_forever
self._run_once()
File "/usr/lib/python3.10/asyncio/base_events.py", line 1909, in _run_once
handle._run()
File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/home/wjq/.local/lib/python3.10/site-packages/llama_agents/services/agent.py", line 291, in processing_loop
signal.raise_signal(signal.SIGINT)
File "/home/wjq/.local/lib/python3.10/site-packages/llama_agents/launchers/local.py", line 138, in signal_handler
sys.exit(0)
SystemExit: 0
@logan-markewich commented on GitHub (Aug 16, 2024):
You can see it reached the max iterations
Usually this means the agent is stuck. Open source models are not the most reliable being react agents yet
@logan-markewich commented on GitHub (Sep 5, 2024):
We've done a major refactor, and I don't think this issue is relevant anymore