fix: anthropic message creation bug (#1299)

Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
This commit is contained in:
cthomas
2025-03-16 12:05:02 -07:00
committed by GitHub
parent 44ecc2dab8
commit 5d40966185

View File

@@ -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,