chore/logger (#788)
Some checks failed
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
CodeQL Advanced / Analyze (python) (push) Has been cancelled

This commit is contained in:
Puzhen Zhang 2025-12-12 16:28:04 +01:00 committed by GitHub
commit d0705fc8b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1512,7 +1512,6 @@ async def get_toolkits(tools: list[str], agent_name: str, api_task_id: str):
toolkit_tools = await toolkit_tools if asyncio.iscoroutine(toolkit_tools) else toolkit_tools
res.extend(toolkit_tools)
else:
logger.warning(f"Toolkit {item} not found, please check your configuration.")
traceroot_logger.warning(f"Toolkit {item} not found for agent {agent_name}")
return res