Add new goal to choose agent type - only kind of working

This commit is contained in:
Laine
2025-03-07 16:12:21 -05:00
parent 64d2a92630
commit 4117d5d62d
9 changed files with 170 additions and 16 deletions

27
tools/choose_agent.py Normal file
View File

@@ -0,0 +1,27 @@
from pathlib import Path
import json
def choose_agent(args: dict) -> dict:
# file_path = Path(__file__).resolve().parent / "goal_regsitry.py"
#if not file_path.exists():
# return {"error": "Data file not found."}
agents = []
agents.append(
{
"agent_name": "Event Flight Helper",
"goal_id": "goal_event_flight_invoice",
"agent_description": "Helps users find interesting events and arrange travel to them",
}
)
agents.append(
{
"agent_name": "Soccer Train Thing Guy",
"goal_id": "goal_match_train_invoice",
"agent_description": "Something about soccer and trains and stuff",
}
)
return {
"agents": agents,
}