ChatGPTNextWeb / ChatGPTNextWeb/NextChat

max token问题导致标题生成错误

Open
#5,648 9 comments 0 reactions 1 assignee Claimed by @Dogtiti View on GitHub
Dominant language
TypeScript
Stars
88.8k
Forks
59.1k
PR merge metrics
No merged PRs in 30d

Description

有个必现的bug, 我如果把模型设置为:o1-mini
max token 设置为 32768

![image](https://github.com/user-attachments/assets/2e4de41f-b47b-4997-af32-cc71a3059ec7)

压缩模型设置为 gpt-4o-mini

聊天2次,标题生成错误:```{ "error": { "message": "max_tokens is too large: 32768. This model supports at most 16384 completion tokens, whereas you provided 32768. (request id: )", "type": "invalid_request_error", "param": "max_tokens", "code": null }}```

![image](https://github.com/user-attachments/assets/24458096-9dd0-417a-a6a8-f2bbe54dfee4)

_Originally posted by @jiangying000 in https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/issues/5646#issuecomment-2408624801_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.