QwenLM / Qwen-Agent

Agent framework and applications built upon Qwen>=2.0, featuring Function Calling, Code Interpreter, RAG, and Chrome extension.
https://pypi.org/project/qwen-agent/
Other
4.32k stars 395 forks source link

【bug】app_gui() SyntaxError: Unexpected token 'I', "Internal S"... is not valid JSON #377

Open xiaxiuli opened 1 month ago

xiaxiuli commented 1 month ago

运行 examples/assistant_rag.py app_gui(),点击提交按钮后, 提示SyntaxError: Unexpected token 'I', "Internal S"... is not valid JSON 已经 pip install -U "qwen-agent[rag,code_interpreter,python_executor,gui]",qwen-agent==0.10.0, gradio==4.21.0, gradio_client==0.12.0 2024-10-11_16-08-02 2024-10-11_16-08-26

Zi-Gao commented 1 month ago

同样的问题

freshlu11 commented 1 month ago

我也是,运行examples/tir_math.py app_gui() 点击提交按钮后, 提示SyntaxError: Unexpected token 'I', "Internal S"... is not valid JSON

freshlu11 commented 1 month ago

pip install --upgrade gradio 我通过更新gradio解决了