Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/providers/fireworks-ai/complete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ export const FireworksAICompleteConfig: ProviderConfig = {
default: 16,
min: 0,
},
max_completion_tokens: {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

max_completion_tokens is only a chat completions parameter and is not supported by OpenAI for the deprecated completions endpoint. Since the Gateway closely follows the OpenAI API spec, this is not something that we would want to add.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

param: 'max_tokens',
default: 200,
min: 1,
},
logprobs: {
param: 'logprobs',
min: 0,
Expand Down