From 6292a8b10f070c1df2d8f052ca74fc389ec395e1 Mon Sep 17 00:00:00 2001 From: qidanrui Date: Tue, 26 Dec 2023 09:16:24 +0000 Subject: [PATCH] recover type of reasoning reply --- dbgpt/agent/agents/base_agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbgpt/agent/agents/base_agent.py b/dbgpt/agent/agents/base_agent.py index b1d238acd..c634acba7 100644 --- a/dbgpt/agent/agents/base_agent.py +++ b/dbgpt/agent/agents/base_agent.py @@ -664,7 +664,7 @@ def _select_llm_model(self, old_model: str = None): return now_model.model async def a_reasoning_reply( - self, messages: Union[List[Dict]] + self, messages: Optional[List[Dict]] = None ) -> Union[str, Dict, None]: """(async) Reply based on the conversation history and the sender. Args: