From 5d40966185911f7f9deb5144c1308a36ce646b37 Mon Sep 17 00:00:00 2001 From: cthomas Date: Sun, 16 Mar 2025 12:05:02 -0700 Subject: [PATCH] fix: anthropic message creation bug (#1299) Co-authored-by: Sarah Wooders --- letta/llm_api/anthropic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/letta/llm_api/anthropic.py b/letta/llm_api/anthropic.py index a19ffe4b..4ba9b9c9 100644 --- a/letta/llm_api/anthropic.py +++ b/letta/llm_api/anthropic.py @@ -840,7 +840,7 @@ def anthropic_chat_completions_process_stream( # Create a dummy message for ID/datetime if needed dummy_message = _Message( role=_MessageRole.assistant, - text="", + content=[], agent_id="", model="", name=None,