mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 16:07:01 +08:00
chore(agent): raise core LangChain dependency baseline (#6301)
This commit is contained in:
@@ -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)},
|
||||
|
||||
Reference in New Issue
Block a user