The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
chore(ollama,groq): Filtering Parameters in bind_tools for Ollama and Groq (#34167)
Mohammad Mohtashim087107557f88
diff --git a/libs/partners/groq/langchain_groq/chat_models.py b/libs/partners/groq/langchain_groq/chat_models.pyindex ea5265336e..e5a36ce868 100644--- a/libs/partners/groq/langchain_groq/chat_models.py+++ b/libs/partners/groq/langchain_groq/chat_models.py@@ -840,6 +840,9 @@ class ChatGroq(BaseChatModel):**kwargs: Any additional parameters to pass to the`langchain.runnable.Runnable` constructor.""" # noqa: E501+ # strict tool-calling not supported by Groq+ _ = kwargs.pop("strict", None)+formatted_tools = [convert_to_openai_tool(tool) for tool in tools]if tool_choice is not None and tool_choice:if tool_choice == "any":