fix: maxOutputTokens was accidentally hardcoded to undefined (#10995)
parent
b937fe9450
commit
870c38a6aa
|
|
@ -150,7 +150,14 @@ export namespace LLM {
|
|||
},
|
||||
)
|
||||
|
||||
const maxOutputTokens = isCodex ? undefined : undefined
|
||||
const maxOutputTokens = isCodex
|
||||
? undefined
|
||||
: ProviderTransform.maxOutputTokens(
|
||||
input.model.api.npm,
|
||||
params.options,
|
||||
input.model.limit.output,
|
||||
OUTPUT_TOKEN_MAX,
|
||||
)
|
||||
log.info("max_output_tokens", {
|
||||
tokens: ProviderTransform.maxOutputTokens(
|
||||
input.model.api.npm,
|
||||
|
|
|
|||
Loading…
Reference in New Issue