The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
mistralai[patch]: Fix Typos in Comments and Improve Compatibility Note (#31616)
FTc4c39c1ae631
diff --git a/libs/partners/mistralai/langchain_mistralai/chat_models.py b/libs/partners/mistralai/langchain_mistralai/chat_models.pyindex 442364e1c7..19e740fe09 100644--- a/libs/partners/mistralai/langchain_mistralai/chat_models.py+++ b/libs/partners/mistralai/langchain_mistralai/chat_models.py@@ -83,7 +83,7 @@ logger = logging.getLogger(__name__)TOOL_CALL_ID_PATTERN = re.compile(r"^[a-zA-Z0-9]{9}$")-# This SSL context is equivelent to the default `verify=True`.+# This SSL context is equivalent to the default `verify=True`.# https://www.python-httpx.org/advanced/ssl/#configuring-client-instancesglobal_ssl_context = ssl.create_default_context(cafile=certifi.where())@@ -592,7 +592,7 @@ class ChatMistralAI(BaseChatModel):llm_output = {"token_usage": token_usage,"model_name": self.model,- "model": self.model, # Backwards compatability+ "model": self.model, # Backwards compatibility}return ChatResult(generations=generations, llm_output=llm_output)