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

阿里云百炼模型请求失败,需开启stream模式 #1177

Open
ViaVxxx opened this issue Mar 9, 2025 · 0 comments
Open

阿里云百炼模型请求失败,需开启stream模式 #1177

ViaVxxx opened this issue Mar 9, 2025 · 0 comments

Comments

@ViaVxxx
Copy link

ViaVxxx commented Mar 9, 2025

问题描述

在调用阿里云百炼 qwq-plus-latest 和 qwq-32b 等模型时,系统提示需要开启stream模式。但未找到相关配置方法,请求协助解决。

错误日志

运行过程中出现以下错误(日志片段):

[03-09 06:40:55.527] process.py (42) - [INFO] : 处理 xxxxxxxxxx 的请求(0): hi
[03-09 06:40:57.985] chat.py (94) - [ERROR] : 对话(0)请求失败: RequesterError 模型请求失败: 请求参数错误: Error code: 400 - {'error': {'code': 'invalid_parameter_error', 'param': None, 'message': 'This model only support stream mode, please enable the stream parameter to access the model. ', 'type': 'invalid_request_error'}, 'id': 'chatcmpl-c92c1670-fb3a-906d-8b33-6d84181695ce', 'request_id': 'c92c1670-fb3a-906d-8b33-6d84181695ce'}
[03-09 06:40:59.768] controller.py (98) - [ERROR] : 模型请求失败: 请求参数错误: Error code: 400 - {'error': {'code': 'invalid_parameter_error', 'param': None, 'message': 'This model only support stream mode, please enable the stream parameter to access the model. ', 'type': 'invalid_request_error'}, 'id': 'chatcmpl-c92c1670-fb3a-906d-8b33-6d84181695ce', 'request_id': 'c92c1670-fb3a-906d-8b33-6d84181695ce'}
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

1 participant