From 5d03bbce89a6c8f9fbe7eb479dc2c6f6980ae791 Mon Sep 17 00:00:00 2001 From: Eugene Yurtsev Date: Wed, 20 Nov 2024 16:50:41 -0500 Subject: [PATCH] x --- libs/partners/mistralai/langchain_mistralai/chat_models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/partners/mistralai/langchain_mistralai/chat_models.py b/libs/partners/mistralai/langchain_mistralai/chat_models.py index b3a43629e8aae..7664e7a45cc2f 100644 --- a/libs/partners/mistralai/langchain_mistralai/chat_models.py +++ b/libs/partners/mistralai/langchain_mistralai/chat_models.py @@ -353,6 +353,7 @@ def _convert_message_to_mistral_chat_message( "role": "tool", "content": message.content, "name": message.name, + "tool_call_id": message.tool_call_id, } else: raise ValueError(f"Got unknown type {message}")