Merge pull request #10373 from dannyl1u/logit_bias

feat: logit bias
This commit is contained in:
Timothy Jaeryang Baek
2025-03-01 06:13:19 -08:00
committed by GitHub
5 changed files with 66 additions and 0 deletions
@@ -50,6 +50,7 @@
seed: null,
temperature: null,
reasoning_effort: null,
logit_bias: null,
frequency_penalty: null,
presence_penalty: null,
repeat_penalty: null,
@@ -348,6 +349,8 @@
temperature: params.temperature !== null ? params.temperature : undefined,
reasoning_effort:
params.reasoning_effort !== null ? params.reasoning_effort : undefined,
logit_bias:
params.logit_bias !== null ? params.logit_bias : undefined,
frequency_penalty:
params.frequency_penalty !== null ? params.frequency_penalty : undefined,
presence_penalty: