mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-15 14:08:08 +01:00
tuning
This commit is contained in:
@@ -35,7 +35,9 @@ class ToolActivities:
|
||||
try:
|
||||
data = json.loads(response.message.content)
|
||||
except json.JSONDecodeError as e:
|
||||
raise ApplicationError(f"Invalid JSON: {e}")
|
||||
print(f"Invalid JSON: {e}")
|
||||
print(response.message.content)
|
||||
raise json.JSONDecodeError
|
||||
|
||||
return data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user