Skip to content

docs: use max_completion_tokens for the OpenAI-compatible endpoint#16

Merged
vikhyat merged 1 commit into
mainfrom
docs-max-completion-tokens
Jun 27, 2026
Merged

docs: use max_completion_tokens for the OpenAI-compatible endpoint#16
vikhyat merged 1 commit into
mainfrom
docs-max-completion-tokens

Conversation

@vikhyat

@vikhyat vikhyat commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

OpenAI deprecated max_tokens in favor of max_completion_tokens. Update the OpenAI Compatibility page's parameter table to document the current field. Pairs with md-api #52, which makes the endpoint honor it.

OpenAI deprecated max_tokens in favor of max_completion_tokens; document the
current parameter on the OpenAI Compatibility page.
@vikhyat vikhyat merged commit 16a19f4 into main Jun 27, 2026
1 check passed
@vikhyat vikhyat deleted the docs-max-completion-tokens branch June 27, 2026 23:17
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

Successfully merging this pull request may close these issues.

1 participant