update clear msg bc anthropic needs at least 1 msg in chat call
This commit is contained in:
@@ -24,7 +24,7 @@ def create_msg_delete():
|
||||
removal_operations = [RemoveMessage(id=m.id) for m in messages]
|
||||
|
||||
# Add a minimal placeholder message
|
||||
placeholder = HumanMessage(content="Continue analysis")
|
||||
placeholder = HumanMessage(content="Continue")
|
||||
|
||||
return {"messages": removal_operations + [placeholder]}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user