Contact Information
No response
MaxKB Version
v2.7.1
Problem Description
火山引擎的图片生成模型API文档中提到:
"sequential_image_generation": "auto",
"sequential_image_generation_options": {
"max_images": 6
}
这两个参数可以控制一次生成 2/3/4 张图,而不是只返回 1 张图。
在模型参数中添加后,智能体调用该模型会报错:
Exception:Images.generate() got an unexpected keyword argument 'sequential_image_generation'
怀疑是依赖的问题,火山引擎的ai问答中提到:
这个错误的根本原因是您使用的火山引擎ARK Python SDK版本过低,旧版本的Images.generate()方法尚未封装sequential_image_generation参数,导致传入不识别的关键字参数报错。
Steps to Reproduce
在模型参数中添加后,智能体调用该模型会报错:
Exception:Images.generate() got an unexpected keyword argument 'sequential_image_generation'
怀疑是依赖的问题,火山引擎的ai问答中提到:
这个错误的根本原因是您使用的火山引擎ARK Python SDK版本过低,旧版本的Images.generate()方法尚未封装sequential_image_generation参数,导致传入不识别的关键字参数报错。
The expected correct result
No response
Related log output
Additional Information
No response
Contact Information
No response
MaxKB Version
v2.7.1
Problem Description
火山引擎的图片生成模型API文档中提到:
"sequential_image_generation": "auto",
"sequential_image_generation_options": {
"max_images": 6
}
这两个参数可以控制一次生成 2/3/4 张图,而不是只返回 1 张图。
在模型参数中添加后,智能体调用该模型会报错:
Exception:Images.generate() got an unexpected keyword argument 'sequential_image_generation'
怀疑是依赖的问题,火山引擎的ai问答中提到:
这个错误的根本原因是您使用的火山引擎ARK Python SDK版本过低,旧版本的Images.generate()方法尚未封装sequential_image_generation参数,导致传入不识别的关键字参数报错。
Steps to Reproduce
在模型参数中添加后,智能体调用该模型会报错:
Exception:Images.generate() got an unexpected keyword argument 'sequential_image_generation'
怀疑是依赖的问题,火山引擎的ai问答中提到:
这个错误的根本原因是您使用的火山引擎ARK Python SDK版本过低,旧版本的Images.generate()方法尚未封装sequential_image_generation参数,导致传入不识别的关键字参数报错。
The expected correct result
No response
Related log output
Additional Information
No response