针对AgentManager:3.1v找不到`agent_configs/`文件夹
参考了README仍然未解决,如题,是需要自己创建吗?目录结构中并没有,希望用过这个功能的人分享一下使用体验
请提供错误日志
Starting NagaAgent with tray support...
Console will be automatically hidden after 3 seconds
Console will also be hidden from taskbar
Tip: Right-click tray icon to show/hide console window
✅ 已注册MCP Agent: ComicDownloaderAgent
D:\Python\lib\site-packages\pydantic_internal_config.py:323: PydanticDeprecatedSince20: Support for class-based config is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/
warnings.warn(DEPRECATION_MESSAGE, DeprecationWarning)
NagaAgent 3.0 配置已加载
API服务器: 启用 (127.0.0.1:8000)
GRAG记忆系统: 启用
D:\327_Naga_AI_Project\NagaAgent3.1\NagaAgent3.1\mqtt_tool\device_switch.py:95: DeprecationWarning: Callback API version 1 is deprecated, update to latest version
self.client = mqtt.Client(client_id=mqtt_config['client_id'])
✅ agent_mqtt_tool初始化完成
✅ 已注册MCP Agent: agent_mqtt_tool
INFO:summer_memory.task_manager:五元组任务管理器初始化完成,最大并发数: 3, 队列大小: 100
INFO:summer_memory.memory_manager:GRAG记忆系统初始化成功
D:\327_Naga_AI_Project\NagaAgent3.1\NagaAgent3.1\summer_memory\task_manager.py:337: DeprecationWarning: There is no current event loop
loop = asyncio.get_event_loop()
✅ 已注册MCP Agent: MemoryAgent
✅ AppLauncherAgent初始化完成,预加载应用数: 153
✅ 已注册MCP Agent: AppLauncherAgent
[print] ✅ PlaywrightAgent初始化完成
✅ 已注册MCP Agent: PlaywrightAgent
✅ WeatherTimeAgent初始化完成,登陆地址:中国 河南
✅ 已注册MCP Agent: WeatherTimeAgent
✅ 已注册MCP Agent: office_word_mcp
✅ 已注册MCP Agent: SystemControlAgent
MCP注册完成,共注册 8 个服务: ['ComicDownloaderAgent', 'agent_mqtt_tool', 'MemoryAgent', 'AppLauncherAgent', 'PlaywrightAgent', 'WeatherTimeAgent', 'office_word_mcp', 'SystemControlAgent']
[GRAG] ✅ 夏园记忆系统初始化成功
MCPManager初始化
✅ MCP服务已通过动态扫描自动注册完成
INFO:NagaConversation:MCP服务系统初始化完成
INFO:NagaConversation:夏园记忆系统已初始化
[TreeThinkingEngine] 🎯 问题难度判断器初始化完成
[TreeThinkingEngine] ⭐ 偏好打分系统初始化完成
[TreeThinkingEngine] 🧬 遗传算法剪枝系统初始化完成
[TreeThinkingEngine] 🔄 线程池初始化完成 - 思考池:8 API池:4
[TreeThinkingEngine] 🌳 树状思考引擎子系统初始化完成
[TreeThinkingEngine] 🚀 树状思考引擎初始化完成
[print] [TreeThinkingEngine] ✅ 树状外置思考系统初始化成功
GRAG状态: 启用 Neo4j连接: 成功
============================== 娜迦系统已启动
🚀 正在启动夏园API服务器...
📍 地址: http://127.0.0.1:8000
📚 文档: http://127.0.0.1:8000/docs
✅ API服务器已在后台启动
D:\Python\lib\site-packages\websockets\legacy_init_.py:6: DeprecationWarning: websockets.legacy is deprecated; see https://websockets.readthedocs.io/en/stable/howto/upgrade.html for upgrade instructions
warnings.warn( # deprecated in 14.0 - 2024-11-09
D:\Python\lib\site-packages\uvicorn\protocols\websockets\websockets_impl.py:17: DeprecationWarning: websockets.server.WebSocketServerProtocol is deprecated
from websockets.server import WebSocketServerProtocol
[INFO] 正在初始化NagaAgent...
[SUCCESS] NagaAgent初始化完成
🚀 正在启动TTS服务...
📍 地址: http://127.0.0.1:5048
✅ TTS服务已在后台启动
🚀 启动HTTP TTS服务器...
📍 地址: http://127.0.0.1:5048
🔑 API密钥: 已禁用
系统命令: 清屏, 查看索引, 帮助, 退出
找到控制台窗口: 790922
自动隐藏控制台窗口...
控制台窗口已从任务栏隐藏
控制台窗口已隐藏
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
D:\Python\lib\site-packages\pygame\pkgdata.py:25: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
from pkg_resources import resource_stream, resource_exists
D:\Python\lib\site-packages\pkg_resources_init_.py:3146: DeprecationWarning: Deprecated call to pkg_resources.declare_namespace('zope').
Implementing implicit namespace packages (as specified in PEP 420) is preferred to pkg_resources.declare_namespace. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
pygame 2.6.1 (SDL 2.28.4, Python 3.10.6)
Hello from the pygame community. https://www.pygame.org/contribute.html
INFO:VoiceIntegration:pygame音频系统初始化成功
INFO:VoiceIntegration:pygame版本: 2.6.1
INFO:VoiceIntegration:音频播放工作线程启动
INFO:VoiceIntegration:音频播放工作线程中pygame初始化成功
INFO:VoiceIntegration:音频文件清理工作线程启动
INFO:VoiceIntegration:语音集成模块初始化完成(重构版本)
INFO:AgentManager:AgentManager使用MCP架构,跳过外部配置文件加载
INFO:AgentManager:AgentManager初始化完成,已加载 0 个Agent
请提供错误日志
NagaAgent 3.1 版本已经完全转向 MCP 架构,不再需要 agent_configs 文件夹。 这个变化是架构升级的结果。无需创建 agent_configs 文件夹,系统会自动发现和注册所有 MCP 服务。
README文档未更新可能引起困扰,我将进行更新
README文档未更新可能引起困扰,我将进行更新
参考新README已经解决了,谢谢修正