mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-12-03 12:56:02 +00:00
Update _10_system_prompt.py
This commit is contained in:
parent
7528c79fc1
commit
85f2d28727
1 changed files with 0 additions and 2 deletions
|
|
@ -36,8 +36,6 @@ def get_mcp_tools_prompt(agent: Agent):
|
|||
if mcp_config.servers:
|
||||
pre_progress = agent.context.log.progress
|
||||
agent.context.log.set_progress("Collecting MCP tools") # MCP might be initializing, better inform via progress bar
|
||||
# import time
|
||||
# time.sleep(10)
|
||||
tools = MCPConfig.get_instance().get_tools_prompt()
|
||||
agent.context.log.set_progress(pre_progress) # return original progress
|
||||
return tools
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue