mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-16 06:28:08 +01:00
works a lot better with 4o!
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
def find_events(args: dict) -> dict:
|
||||
# Example: continent="Oceania", month="April"
|
||||
continent = args.get("continent")
|
||||
region = args.get("region")
|
||||
month = args.get("month")
|
||||
print(f"[FindEvents] Searching events in {continent} for {month} ...")
|
||||
print(f"[FindEvents] Searching events in {region} for {month} ...")
|
||||
|
||||
# Stub result
|
||||
return {
|
||||
"eventsFound": [
|
||||
"events": [
|
||||
{
|
||||
"city": "Melbourne",
|
||||
"eventName": "Melbourne International Comedy Festival",
|
||||
"dates": "2025-03-26 to 2025-04-20",
|
||||
"dateFrom": "2025-03-26",
|
||||
"dateTo": "2025-04-20",
|
||||
},
|
||||
],
|
||||
"status": "found-events",
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user