mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-15 14:08:08 +01:00
Compare commits
1 Commits
0.4.1
...
query-patc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b0408d9ed6 |
@@ -65,7 +65,7 @@ async def get_tool_data():
|
|||||||
return {}
|
return {}
|
||||||
|
|
||||||
# Query the workflow
|
# Query the workflow
|
||||||
tool_data = await handle.query("get_tool_data")
|
tool_data = await handle.query("get_latest_tool_data")
|
||||||
return tool_data
|
return tool_data
|
||||||
except TemporalError as e:
|
except TemporalError as e:
|
||||||
# Workflow not found; return an empty response
|
# Workflow not found; return an empty response
|
||||||
|
|||||||
Reference in New Issue
Block a user