fix(assistant): align resource tools with application services

This commit is contained in:
huanghuoguoguo
2026-09-16 22:37:02 +08:00
parent e82d71029e
commit 48140fbfd4
4 changed files with 44 additions and 6 deletions
@@ -253,7 +253,8 @@ class AssistantService:
await self._save(context, conversation, 'running')
try:
result = await execute_tool(self.ap, context, func['name'], json.loads(func['arguments'] or '{}'))
except Exception:
except Exception as exc:
self.ap.logger.warning('Management assistant tool %s failed (%s)', func['name'], type(exc).__name__)
self._append_result(
conversation,
call,