Skip to content

Deprecate "max_tokens" in openai provider api request payload #5331

@lifeizhou-ap

Description

@lifeizhou-ap

Describe the task

Based on the open ai doc, max_tokens is deprecated.

We can use max_completion_tokens in the payload for openai models in openai provider and databricks provider

More context

Metadata

Metadata

Labels

p2Priority 2 - Medium

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions