lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
44.04k stars 9.85k forks source link

[Bug] zhipu智谱glm启用max_tokens出错code 1214 #1398

Open SBBTD opened 8 months ago

SBBTD commented 8 months ago

💻 系统环境

Windows

📦 部署环境

Docker

🌐 浏览器

Chrome

🐛 问题描述

智谱glm启用max_tokens后会报错,关闭后就可以正常使用

max_tokens参数非法。请检查文档。

image

错误如下:

image

🚦 期望结果

No response

📷 复现步骤

📝 补充信息

No response

lobehubbot commented 8 months ago

👀 @SBBTD

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

arvinxx commented 5 months ago

似乎 8000 是不可选的,你先手动改下呗?

lobehubbot commented 5 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


It seems that 8000 is not optional. Can you change it manually first?