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

13
tools/change_goal.py Normal file
View File

@@ -0,0 +1,13 @@
# can this just call the API endpoint to set the goal, if that changes to allow a param?
# --- OR ---
# end this workflow and start a new one with the new goal
import shared.config
def change_goal(args: dict) -> dict:
new_goal = args.get("goalID")
shared.config.AGENT_GOAL = new_goal
return {
"new_goal": shared.config.AGENT_GOAL,
}