mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-16 22:48:09 +01:00
Add pirate treasure goal and more info to documentation re: how to make goals and tools
This commit is contained in:
@@ -12,6 +12,9 @@ from .hr.current_pto import current_pto
|
||||
from .hr.book_pto import book_pto
|
||||
from .hr.future_pto_calc import future_pto_calc
|
||||
|
||||
from .give_hint import give_hint
|
||||
from .guess_location import guess_location
|
||||
|
||||
|
||||
def get_handler(tool_name: str):
|
||||
if tool_name == "SearchFixtures":
|
||||
@@ -38,5 +41,9 @@ def get_handler(tool_name: str):
|
||||
return book_pto
|
||||
if tool_name == "FuturePTOCalc":
|
||||
return future_pto_calc
|
||||
if tool_name == "GiveHint":
|
||||
return give_hint
|
||||
if tool_name == "GuessLocation":
|
||||
return guess_location
|
||||
|
||||
raise ValueError(f"Unknown tool: {tool_name}")
|
||||
|
||||
Reference in New Issue
Block a user