Add in bare bones yet functional HR goal: goal_hr_schedule_pto

This commit is contained in:
Laine
2025-03-12 16:54:13 -04:00
parent 291bace53d
commit ea1ad383bb
9 changed files with 290 additions and 25 deletions

View File

@@ -8,6 +8,11 @@ from .list_agents import list_agents
from .change_goal import change_goal
from .transfer_control import transfer_control
from .current_pto import current_pto
from .book_pto import book_pto
from .calendar_conflict import calendar_conflict
from .future_pto import future_pto
def get_handler(tool_name: str):
if tool_name == "SearchFixtures":
@@ -28,5 +33,13 @@ def get_handler(tool_name: str):
return change_goal
if tool_name == "TransferControl":
return transfer_control
if tool_name == "CurrentPTO":
return current_pto
if tool_name == "BookPTO":
return book_pto
if tool_name == "CalendarConflict":
return calendar_conflict
if tool_name == "FuturePTO":
return future_pto
raise ValueError(f"Unknown tool: {tool_name}")