NagaAgent icon indicating copy to clipboard operation
NagaAgent copied to clipboard

想问下这个是什么情况?

Open zyx33331 opened this issue 1 year ago • 1 comments

INFO:NagaConversation:检测到浏览器操作请求: 浏览器 INFO:NagaConversation:当前可用服务: - playwright: 处理所有浏览器相关操作 Traceback (most recent call last): File "F:\NagaAgent\conversation_core.py", line 175, in process logger.info(f"task: {json.dumps(task_data, ensure_ascii=False)}") ^^^^ UnboundLocalError: cannot access local variable 'json' where it is not associated with a value

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "F:\NagaAgent\ui\pyqt_chat_window.py", line 71, in run a = asyncio.run(collect()) ^^^^^^^^^^^^^^^^^^^^^^ File "D:\ProgramData\anaconda3\Lib\asyncio\runners.py", line 194, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "D:\ProgramData\anaconda3\Lib\asyncio\runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ProgramData\anaconda3\Lib\asyncio\base_events.py", line 687, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "F:\NagaAgent\ui\pyqt_chat_window.py", line 63, in collect async for chunk in s.naga.process(s.u): File "F:\NagaAgent\conversation_core.py", line 295, in process import traceback;traceback.print_exc(file=sys.stderr) ^^^ UnboundLocalError: cannot access local variable 'sys' where it is not associated with a value Press any key to continue . . .

zyx33331 avatar May 24 '25 14:05 zyx33331

MCP缺少依赖,这个不好配,等我后面更新,现在只是面向开发者做的

RTGS2017 avatar May 25 '25 02:05 RTGS2017