Langchain-Chatchat(原Langchain-ChatGLM)基于 Langchain 与 ChatGLM, Qwen 与 Llama 等语言模型的 RAG 与 Agent 应用 | Langchain-Chatchat (formerly langchain-ChatGLM), local knowledge based LLM (like ChatGLM, Qwen and Llama) RAG and Agent app with langchain
32.07k
stars
5.58k
forks
source link
[BUG] 使用xinference框架调用Agent出现问题,使用ollama则不会 #4956
Closed
southkorea2013 closed 1 week ago
问题描述 / Problem Description 用简洁明了的语言描述这个问题 / Describe the problem in a clear and concise manner.
复现问题的步骤 / Steps to Reproduce
预期的结果 / Expected Result 正常输出指定城市的天气情况
实际结果 / Actual Result ERROR | chatchat.server.utils:wrap_done:46 - IndexError: Caught exception: list index out of range
Ollama执行的结果:
Xinference执行结果:
2024-09-18 15:59:10,053 httpx 32993 INFO HTTP Request: POST http://127.0.0.1:9997/v1/chat/completions "HTTP/1.1 200 OK"
Thought: The user wants to know the current weather in Shenzhen. I will use the
amap_weather
tool to get this information.Action: