Merge pull request #6357 from mq200/fix/completion_options_config

YAML config load minP, frequencyPenalty and presencePenalty
This commit is contained in:
Patrick Erichsen 2025-06-30 16:07:39 -07:00 • committed by GitHub
commit d22ab74b15
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,6 +45,9 @@ export const completionOptionsSchema = z.object({
temperature: z.number().optional(),
topP: z.number().optional(),
topK: z.number().optional(),
minP: z.number().optional(),
presencePenalty: z.number().optional(),
frequencyPenalty: z.number().optional(),
stop: z.array(z.string()).optional(),
n: z.number().optional(),
reasoning: z.boolean().optional(),