Skip to content

[Bug] 对接阿里百炼qwen-vl-max模型,上传图片报 InternalError.Algo.InvalidParameter: Range of max_tokens should be [1, 2048]', #2401

@Larson13

Description

@Larson13

Contact Information

No response

MaxKB Version

1.10.1

Problem Description

对接阿里百炼qwen-vl-max模型,使用qwen-vl-max 模型解析图片报arameter_error', 'param': None, 'message': '<400> InternalError.Algo.InvalidParameter: Range of max_tokens should be [1, 2048]', 'type': 'invalid_request_error'}, 'id': 'chatcmpl-f77ba31d-da8a-918a-b74d-321aa3af8f1b', 'request_id': 'f77ba31d-da8a-918a-b74d-321aa3af8f1b'},修改参数不生效

Steps to Reproduce

1、对接qwen-vl-max
2、设置模型参数
3、创建工作流
4、上传图图片

The expected correct result

1、对接qwen-vl-max
Image
2、模型参数设置
Image
3、工作流
Image

Image

Image

Image
4、原模型平台可以正常解析图片
Image

Related log output

Additional Information

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions