-
Notifications
You must be signed in to change notification settings - Fork 60.2k
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
修改header的Accept属性以确保在某些转发服务上可以正常工作 #3570
Conversation
So it can work fine for some GPT forward service.
…ader Update api.ts to set proper header "Accept"
* Merge pull request ChatGPTNextWeb#3215 from akira-cn/main fix: remove the content-encoding header * Update Web App link in README.md * Update CN web app link in README.md * Merge pull request ChatGPTNextWeb#3570 from Rocky0102/main * chore: update auth value logic (ChatGPTNextWeb#3630) * Fix [Api] [Common Server Side] Change variable - [+] fix(common.ts): change variable declaration from 'var' to 'let' for 'authValue' * Fix Front End Issue about package - [+] chore(package.json): update "@tauri-apps/api" dependency to version 1.5.3 - [+] chore(yarn.lock): update "@tauri-apps/api" dependency to version 1.5.3 --------- Co-authored-by: Yidadaa <yidadaa@qq.com> Co-authored-by: ChatGPTNextWeb <153288546+ChatGPTNextWeb@users.noreply.github.com> Co-authored-by: fredliang44 <info@fredliang.cn>
剛剛已經測試了, |
Just tested it, |
使用 2.10.1 和 2.9.13, 即使使用相同模型相同設定, 會得出很大差距的回覆 |
Using 2.10.1 and 2.9.13, even if you use the same model and the same settings, you will get very different responses. |
修改header的Accept属性以确保在某些转发服务上可以正常工作。如果不指定为"application/json",默认是“text/event-stream”,某些转发服务会报错“Could not find acceptable representation”