-
Notifications
You must be signed in to change notification settings - Fork 160
Description
What happened?
CoorAgent> run -t agent_factory -u test -m 'build a snake game based on web,the speed can be ajust.'
Workflow Configuration
................................................
<<< planner execution finished
⠙ Starting execution: planner...INFO:src.workflow.process:Started node: publisher
publisher starting execution...
⠙ Starting execution: planner...INFO:src.workflow.agent_factory:publisher evaluating next action
INFO:httpx:HTTP Request: POST https://openrouter.ai/api/v1/chat/completions "HTTP/1.1 200 OK"
INFO:src.workflow.agent_factory:publisher delegating to: researcher
Traceback (most recent call last):
File "F:\Cooragent\cooragent\src\workflow\process.py", line 158, in _process_workflow
command = node_func(state)
^^^^^^^^^^^^^^^^
File "F:\Cooragent\cooragent\src\workflow\agent_factory.py", line 73, in publisher_node
return Command(goto=goto, update={"next": agent})
^^^^
UnboundLocalError: cannot access local variable 'goto' where it is not associated with a value
⠼ Starting execution: publisher...ERROR:src.workflow.process:Error in Agent workflow: cannot access local variable 'goto' where it is not associated with a value
╭───────── CoorAgent ──────────╮
│ Workflow execution finished! │
Distribution version
Windows x64
App Version
No response
What browsers are you seeing the problem on if you're using web version?
No response
Are you self-hosting?
- Yes
Self-hosting Version
No response
Relevant log output
Anything else?
No response