fix: conversation_id equals to none

This commit is contained in:
Yeuoly 2024-03-14 13:24:48 +08:00
parent baf536eb2b
commit 13a724864d
No known key found for this signature in database
GPG Key ID: A66E7E320FB19F61

View File

@ -78,7 +78,7 @@ class ToolNode(BaseNode):
messages=messages, messages=messages,
user_id=self.user_id, user_id=self.user_id,
tenant_id=self.tenant_id, tenant_id=self.tenant_id,
conversation_id='', conversation_id=None,
) )
# extract plain text and files # extract plain text and files
files = self._extract_tool_response_binary(messages) files = self._extract_tool_response_binary(messages)