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

想要请教如何将copilot的返回切换为非流式传输结果 #7

Open
lny161224 opened this issue Nov 12, 2023 · 2 comments
Open

Comments

@lny161224
Copy link

lny161224 commented Nov 12, 2023

想要请教博主,通过源码解析能不能把Copilot的api切换成段式而不是流式传输?谢谢

@lny161224 lny161224 reopened this Nov 14, 2023
@lny161224 lny161224 changed the title 想要请教如何抓到copilot的请求 想要请教如何将copilot的返回切换为非流式传输结果 Nov 14, 2023
@mengjian-github
Copy link
Owner

有一个stream参数

@lny161224
Copy link
Author

我在抓到的请求中看到了这个参数 "stream": true, 但是我直接改为false的话会报错,如下

{"error":{"message":"non streaming requests are not supported by this proxy"}}

看博主有没有相关的经验或者看可不可以提点一下,非常感谢!

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

No branches or pull requests

2 participants