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

修改header的Accept属性以确保在某些转发服务上可以正常工作 #3570

Merged
merged 2 commits into from
Dec 26, 2023

Conversation

Rocky0102
Copy link
Contributor

修改header的Accept属性以确保在某些转发服务上可以正常工作。如果不指定为"application/json",默认是“text/event-stream”,某些转发服务会报错“Could not find acceptable representation”

So it can work fine for some GPT forward service.
…ader

Update api.ts to set proper header "Accept"
@Yidadaa Yidadaa merged commit c03abda into ChatGPTNextWeb:main Dec 26, 2023
H0llyW00dzZ pushed a commit to H0llyW00dzZ/ChatGPT-Next-Web that referenced this pull request Dec 26, 2023
H0llyW00dzZ added a commit to H0llyW00dzZ/ChatGPT-Next-Web that referenced this pull request Dec 26, 2023
* 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>
@Cow258
Copy link

Cow258 commented Dec 28, 2023

剛剛已經測試了,
這個 comment 直接令 gpt-4-1106-preview 的回覆變蠢了, 我跟他說中文, 他回覆我英文, 組織能力也變差了

@Issues-translate-bot
Copy link

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


Just tested it,
This comment directly made gpt-4-1106-preview's reply stupid. I spoke to him in Chinese, and he replied to me in English. His organizational skills also became worse.

@Cow258
Copy link

Cow258 commented Dec 28, 2023

使用 2.10.1 和 2.9.13, 即使使用相同模型相同設定, 會得出很大差距的回覆

@Issues-translate-bot
Copy link

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


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.

spongeBor pushed a commit to spongeBor/ChatGPT-Next-Web that referenced this pull request Jan 18, 2024
gaogao1030 pushed a commit to gaogao1030/ChatGPT-Next-Web that referenced this pull request May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants