-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
I’m new to learning this framework.
First:
My command:
mofa-main/python/mofa/agent_templates/reasoner$ dora start reasoner_dataflow.yml
Output:
0195617c-d3d7-7004-afc1-44dd3e0f34fb
attaching to dataflow (use `--detach` to run in background)
Then, I started a new terminal.
My command:
terminal-input
I entered the string “indeed”
Output:
Send You Task : indeed
Error:(terminal-input: terminal. )
File "mofa/python/node-hub/terminal-input/terminal_input/main.py", line 68, in main
send_task_and_receive_data(node)
File "mofa/python/node-hub/terminal-input/terminal_input/main.py", line 28, in send_task_and_receive_data
node_results = json.loads(event['value'].to_pylist()[0])
KeyError: 'value'
Error:(dora start: terminal. )
ERROR reasoner-agent: exited with code 1 with stderr output:
---------------------------------------------------------------------------------
[...] File "mofa-main/python/mofa/agent_templates/reasoner/scripts/reasoner_agent.py", line 24, in on_event
agent_result = run_dspy_or_crewai_agent(agent_config=inputs)
File "mofa-main/python/mofa/run/run_agent.py", line 167, in run_dspy_or_crewai_agent
raise RuntimeError(str(e))
RuntimeError: string indices must be integers
Location:
binaries/runtime/src/operator/python.rs:28:9
---------------------------------------------------------------------------------
[ERROR]
Dataflow 0195617c-d3d7-7004-afc1-44dd3e0f34fb failed:
Node `reasoner-agent` failed: exited with code 1 with stderr output:
---------------------------------------------------------------------------------
[...] File "mofa-main/python/mofa/agent_templates/reasoner/scripts/reasoner_agent.py", line 24, in on_event
agent_result = run_dspy_or_crewai_agent(agent_config=inputs)
File "mofa-main/python/mofa/run/run_agent.py", line 167, in run_dspy_or_crewai_agent
raise RuntimeError(str(e))
RuntimeError: string indices must be integers
Location:
binaries/runtime/src/operator/python.rs:28:9
---------------------------------------------------------------------------------
Metadata
Metadata
Assignees
Labels
No labels