Comments (10)
其实他是支持stream的, 只是Azure OpenAI service 会积累一段信息再返回.
你在azure试试它的playground, 结果应该和你在opencat上看到的一样
from cf-openai-azure-proxy.
根据
Chanzhaoyu/chatgpt-web#831
这个issue,Azure和OpenAI在stream模式下还是有区别的,需要在最后加一个/n结尾,
否则客户端就接受不到结束的标志,不知道Cloudflare这里能不能做相应的对应。
from cf-openai-azure-proxy.
👍 加换行符 让会话STOP 应该可以, 我明天调调看.
from cf-openai-azure-proxy.
Besides the issue with the stream answer is not ending through the proxy. I also got the issue that all answers are individual and it's not related even in the same chat session. Is this normal? Or this is because of some other reason?
https://i.imgur.com/L6RpJBn.png
from cf-openai-azure-proxy.
Support stream now, please update code and try
from cf-openai-azure-proxy.
Hi @haibbo, thank you for the update. I tested the latest code and the stream is working now. The printer effect has also been achieved, but there is one problem, the code block is no longer highlighted. Did something go wrong when parsing the data?
from cf-openai-azure-proxy.
Hi @haibbo, thank you for the update. I tested the latest code and the stream is working now. The printer effect has also been achieved, but there is one problem, the code block is no longer highlighted. Did something go wrong when parsing the data?
which client do you use?
from cf-openai-azure-proxy.
Hi @haibbo, thank you for the update. I tested the latest code and the stream is working now. The printer effect has also been achieved, but there is one problem, the code block is no longer highlighted. Did something go wrong when parsing the data?
The code block is working on my case with this client. I think you need to check on the client side.
from cf-openai-azure-proxy.
I am currently using ChatGPT Next Web and will check the client side code.
from cf-openai-azure-proxy.
Support stream now, please update code and try
非常感谢,现在在opencat体验良好,送上star
from cf-openai-azure-proxy.
Related Issues (20)
- OpenAl: Unexpected http code 403 HOT 2
- 在cloudflare新建worker后,系统报错,代码 (Code: 10021) HOT 2
- 编译报错了
- 是否能支持openai的其他功能
- 求救,怎么都不行。使用opencat弹出Unexpected http code 403 HOT 2
- 按照示例改的代码,报错Missing model mapper?想问下如何解决 HOT 12
- Set response Content-Type to text/event-stream to fix ChatGPT typer/printer style output.
- Set response Content-Type to text/event-stream to fix the third-party client compatibility
- 求助,为什么不支持上下文啊 HOT 3
- 404报错
- 问个小白问题 HOT 1
- Stream 偶尔还是会返回不完整的内容
- 求更新增加dall-e-3 HOT 3
- Function Calling HOT 1
- apiVersion可以填写哪些? HOT 3
- 在使用chatgpt-web-share遇到问题 HOT 1
- 加上最新的gpt-4-vision-preview 返回都被截断 HOT 1
- gpt3.5部署成功,gpt4就错误 HOT 7
- 调用此 Proxy 接口时出现 CloudFlare 质询 HOT 1
- 如何调试自定义的proxy HOT 1
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 cf-openai-azure-proxy.