Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
SBBTD opened this issue Feb 27, 2024 · 5 comments · Fixed by #5858
Closed

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

SBBTD opened this issue Feb 27, 2024 · 5 comments · Fixed by #5858
Labels
🐛 Bug Something isn't working | 缺陷 Inactive No response in 30 days | 超过 30 天未活跃 released

Comments

@SBBTD
Copy link

SBBTD commented Feb 27, 2024

💻 系统环境

Windows

📦 部署环境

Docker

🌐 浏览器

Chrome

🐛 问题描述

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

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

image

错误如下:

image

🚦 期望结果

No response

📷 复现步骤

  • 使用智谱glm模型
  • 启用max_tokens
  • 发送对话消息

📝 补充信息

No response

@SBBTD SBBTD added the 🐛 Bug Something isn't working | 缺陷 label Feb 27, 2024
@github-project-automation github-project-automation bot moved this to Roadmap - Chat 1.x in Lobe Chat Routine Feb 27, 2024
@lobehubbot
Copy link
Member

👀 @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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@SBBTD SBBTD changed the title [Bug] zhipu智谱glm启用max_tokens出错 [Bug] zhipu智谱glm启用max_tokens出错code 1214 Feb 27, 2024
@lobehubbot lobehubbot added the Inactive No response in 30 days | 超过 30 天未活跃 label Mar 29, 2024
@arvinxx
Copy link
Contributor

arvinxx commented May 8, 2024

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

@lobehubbot
Copy link
Member

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?

@github-project-automation github-project-automation bot moved this from Roadmap - Chat 1.x to Done in Lobe Chat Routine Feb 8, 2025
@lobehubbot
Copy link
Member

@SBBTD

This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

@lobehubbot
Copy link
Member

🎉 This issue has been resolved in version 1.52.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷 Inactive No response in 30 days | 超过 30 天未活跃 released
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants