Comments (3)
Please follow the issue template to update title and description of your issue.
from chatgpt-next-web.
Bot detected the issue body's language is not English, translate it automatically.
Title: interface. If 201 is returned instead of 200, unexpected situations will occur.
if (
!res.ok ||
!res.headers
.get("content-type")
?.startsWith(EventStreamContentType) ||
res.status !== 200
) {
For example, in nestjs, the default value returned by the post interface is 201, but the above judgment is 200, which causes the normal stream content to be displayed directly in the source content format, causing an error.
It is recommended that this logic be modified. 201 is also the res.ok
from chatgpt-next-web.
Thank you for your feedback, we will adopt the suggestion
from chatgpt-next-web.
Related Issues (20)
- [Bug] 随机触发全屏报错 HOT 8
- [Feature Request]: A Continue Button in NextChat V3 HOT 2
- [Bug] [iOS] Scroll HOT 4
- [Feature Request]: Vercel Functions for Hobby can now run up to 60 seconds HOT 5
- 为什么cloudflare配置Gemini的代理用不了 HOT 9
- The parse of markdown full-width colon is wrong. markdown文档的全角冒号解析错误 HOT 1
- [Bug] Cloudflare 部署错误 HOT 2
- How to config Azure OpenAI? HOT 2
- [Bug] 消息列表控制逻辑混乱 HOT 1
- [Bug] [Azure OpenAI] Typewriter animation effect is gone after switching from GPT-4 to GPT-4O
- [Bug] 当我询问用的Azure的哪个模型时,messages会预设我选择的模型,伪造成那个版本 HOT 3
- [Bug] MobileAgent使用GPT-4o HOT 1
- [Bug] 2.12.3 使用PROXY_URL部署后无法访问 HOT 7
- [Bug] Azure api 配置不生效 HOT 6
- [Feature Request]: feat/voice-input分支版本与现在主分支不兼容 HOT 1
- [Feature Request]: Ability to change website title and brand
- [Feature Request]: I need to know what models I'm using and how much tokens consumed in each conversation.
- [Bug] nexthchat is stuck, how can I export my application data. HOT 1
- [Feature Request]: 基于模型服务商+模型名选择请求格式,而不是简单地依靠模型名 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatgpt-next-web.