update clear msg bc anthropic needs at least 1 msg in chat call
This commit is contained in:
1 parent
da84ef43aa
commit
7eaf4d995f
1 file changed
+1
-1
@@ -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