Skip to content

[Bug] 最新版maxkb2.8 openai模型不支持自定义参数了? #5103

@truthsun22

Description

@truthsun22

Contact Information

No response

MaxKB Version

2.8

Problem Description

openai模式的模型,添加自定义参数,如top-k,enable_thinking等参数,在工作流里提问该模型时,报错:Exception:Completions.create() got an unexpected keyword argument 'enable_thinking'
maxkb2.7版本是没有问题的

Steps to Reproduce

如题

The expected correct result

Exception:Completions.create() got an unexpected keyword argument 'enable_thinking'

Related log output

Additional Information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions