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 c04e019 commit 3d576b1Copy full SHA for 3d576b1
src/api/providers/lite-llm.ts
@@ -204,7 +204,6 @@ export class LiteLLMHandler extends RouterProvider implements SingleCompletionHa
204
205
// GPT-5 models require max_completion_tokens instead of the deprecated max_tokens parameter
206
if (isGPT5Model && info.maxTokens) {
207
- // @ts-ignore - max_completion_tokens is not in the OpenAI types yet but is supported
208
requestOptions.max_completion_tokens = info.maxTokens
209
} else if (info.maxTokens) {
210
requestOptions.max_tokens = info.maxTokens
0 commit comments