ChatGPTNextWeb / ChatGPT-Next-Web

A cross-platform ChatGPT/Gemini UI (Web / PWA / Linux / Win / MacOS). 一键拥有你自己的跨平台 ChatGPT/Gemini 应用。
https://app.nextchat.dev/
MIT License
75.8k stars 58.9k forks source link

[Bug] max_tokens 参数理解有误 #5451

Open jiangying000 opened 1 month ago

jiangying000 commented 1 month ago

📦 Deployment Method

Vercel

📌 Version

all

💻 Operating System

Windows

📌 System Version

all

🌐 Browser

Chrome

📌 Browser Version

all

🐛 Bug Description

image 上图中是错误的理解,正确的是:模型本次可以生成的最多token数 或者说 一次大模型调用生成的令牌数量的上限,包括可见输出token和 推理token


参见: image

https://community.openai.com/t/clarification-for-max-tokens/19576/4


另外 https://platform.openai.com/docs/api-reference/chat/create#chat-create-max_tokens image

📷 Recurrence Steps

No response

🚦 Expected Behavior

No response

📝 Additional Information

No response

Issues-translate-bot commented 1 month ago

Bot detected the issue body's language is not English, translate it automatically.


Title: [Bug] Wrong understanding of max_tokens parameter

lloydzhou commented 3 weeks ago

@Dogtiti 看看按正确的逻辑,更新一下这里的文案,需要多语言翻译

Issues-translate-bot commented 3 weeks ago

Bot detected the issue body's language is not English, translate it automatically.


@Dogtiti Let’s look at the correct logic and update the copy here. Multi-language translation is needed.