chore(agent): raise core LangChain dependency baseline (#6301)

This commit is contained in:
InfinityPacer
2026-08-13 17:59:14 +08:00
committed by GitHub
parent 8dc6774d47
commit dc9f8ef168
3 changed files with 22 additions and 13 deletions
+4
View File
@@ -394,6 +394,10 @@ class LlmHelperTestCallTest(unittest.TestCase):
self.model = kwargs["model"]
self.profile = {"tool_calling": True}
def with_retry(self):
"""满足 LangChain 摘要模型的 Runnable 合同。"""
return self
with patch.dict(
sys.modules,
{"langchain_openai": SimpleNamespace(ChatOpenAI=_FakeChatOpenAI)},