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

接口的打字机效果失效 #132

Open
bk996smile opened this issue Nov 1, 2023 · 1 comment
Open

接口的打字机效果失效 #132

bk996smile opened this issue Nov 1, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@bk996smile
Copy link

部署在服务器后,调用接口进行模型交互,可是打字机的效果一直出不来,用postman调的结果都是整体返回后看到的全量结果,这个要如何做到流式输出?

@thomas-yanxin thomas-yanxin added the bug Something isn't working label Jan 8, 2024
@Yanllan
Copy link

Yanllan commented Jan 15, 2024

请确认model.create{}中是否有或者参数stream值是否为True,
例如:
response = model.create(
model='
',
messages=“*****”,
temperature=0.5,
stream=True
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants