mirror of
https://github.com/temporal-community/temporal-ai-agent.git
synced 2026-03-16 22:48:09 +01:00
vastly improved prompt history
This commit is contained in:
@@ -31,6 +31,8 @@ class ToolActivities:
|
||||
|
||||
response: ChatResponse = chat(model=model_name, messages=messages)
|
||||
|
||||
print(f"Chat response: {response.message.content}")
|
||||
|
||||
try:
|
||||
data = json.loads(response.message.content)
|
||||
except json.JSONDecodeError as e:
|
||||
|
||||
Reference in New Issue
Block a user