bincooo / chatgpt-adapter

集成了openai-api、bing、gemini、coze、claude、绘画 多款AI的聊天接口适配到 OpenAI API 标准接口服务端。
GNU General Public License v3.0
473 stars 88 forks source link

配置了custom llm 之后,启用 toolcall崩溃 #32

Closed a8851625 closed 3 weeks ago

a8851625 commented 3 weeks ago

server-1 | 2024-06-06 06:30:28 <internal/plugin/llm> v1/message.go:88 | [INFO] waitResponse ... server-1 | 2024-06-06 06:30:28 gin.handler/basic.go:101 | [ERRO] response error: runtime error: invalid memory address or nil pointer dereference server-1 | 2024-06-06 06:30:28 gin.handler/basic.go:95 | [INFO] server-1 | ------ END REQUEST 5a85c035-5c49-4ebc-812d-470740e879f6 --------- server-1 | [GIN] 2024/06/06 - 06:30:28 | 500 | 4.02276008s | 192.168.31.51 | POST "/v1/chat/completions"

后端是 用 one api的 openai代理白嫖的千问 https://github.com/LLM-Red-Team/qwen-free-api

bincooo commented 3 weeks ago

已更新