mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-03 10:05:13 +00:00
feat(core): Upgrade pydantic to 2.x (#1428)
This commit is contained in:
@@ -112,7 +112,7 @@ class AgentManager(BaseComponent):
|
||||
"""Return the description of an agent by name."""
|
||||
return self._agents[name][1].desc
|
||||
|
||||
def all_agents(self):
|
||||
def all_agents(self) -> Dict[str, str]:
|
||||
"""Return a dictionary of all registered agents and their descriptions."""
|
||||
result = {}
|
||||
for name, value in self._agents.items():
|
||||
|
Reference in New Issue
Block a user