We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f89b23c commit 822886bCopy full SHA for 822886b
src/api/providers/lite-llm.ts
@@ -127,7 +127,6 @@ export class LiteLLMHandler extends RouterProvider implements SingleCompletionHa
127
128
// GPT-5 models require max_completion_tokens instead of the deprecated max_tokens parameter
129
if (isGPT5Model && maxTokens) {
130
- // @ts-ignore - max_completion_tokens is not in the OpenAI types yet but is supported
131
requestOptions.max_completion_tokens = maxTokens
132
} else if (maxTokens) {
133
requestOptions.max_tokens = maxTokens
0 commit comments