Spaces:
Runtime error
Runtime error
from agent import run_agent | |
def run_multi_agent_session(goal): | |
print("Agent 1: Interpreting goal") | |
result1 = run_agent(goal) | |
print("Agent 2: Verifying output") | |
result2 = run_agent(f"Evaluate and verify this result: {result1}") | |
print("Agent 3: Proposing improvements") | |
result3 = run_agent(f"Improve this: {result1}") | |
return result1, result2, result3 | |