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: