The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
community[patch]: fix tongyi completion and params error (#15544)
Funkeke722012436892
diff --git a/libs/community/langchain_community/chat_models/tongyi.py b/libs/community/langchain_community/chat_models/tongyi.pyindex be4373a505..004ffdd3b1 100644--- a/libs/community/langchain_community/chat_models/tongyi.py+++ b/libs/community/langchain_community/chat_models/tongyi.py@@ -315,9 +315,7 @@ class ChatTongyi(BaseChatModel):)resp = await asyncio.get_running_loop().run_in_executor(None,- functools.partial(- self.completion_with_retry, **{"run_manager": run_manager, **params}- ),+ functools.partial(self.completion_with_retry, **params),)generations.append(ChatGeneration(**self._chat_generation_from_qwen_resp(resp))