Skip to content

Commit

Permalink
Merge pull request #98 from gregdrizz/auto_agent_choosing
Browse files Browse the repository at this point in the history
Auto agent choosing
  • Loading branch information
rotemweiss57 authored Jul 25, 2023
2 parents 5d0a911 + 6ebb884 commit f9b59b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions agent/llm_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ def choose_agent_configuration():
"Academic Research Agent", "Computer Security Analyst Agent"
if an agent for the field required doesn't exist make one up
fit an emoji to every agent before the agent name
""",
},
"instructions": {
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async def websocket_endpoint(websocket: WebSocket):
else:
agent_role_prompt = None

await websocket.send_json({"type": "logs", "output": f"🕵️ Agent: {agent}"})
await websocket.send_json({"type": "logs", "output": f"{agent}"})
if task and report_type and agent:
await manager.start_streaming(task, report_type, agent, agent_role_prompt, websocket)
else:
Expand Down

0 comments on commit f9b59b6

Please sign in to comment.