Revert "fix(app): support anthropic models on azure cognitive services" (#8966)
This commit is contained in:
parent
b8e2895dfc
commit
14d1e20287
1 changed files with 13 additions and 67 deletions
|
|
@ -133,7 +133,12 @@ export namespace LLM {
|
|||
|
||||
const maxOutputTokens = isCodex
|
||||
? undefined
|
||||
: ProviderTransform.maxOutputTokens(input.model, params.options, OUTPUT_TOKEN_MAX)
|
||||
: ProviderTransform.maxOutputTokens(
|
||||
input.model.api.npm,
|
||||
params.options,
|
||||
input.model.limit.output,
|
||||
OUTPUT_TOKEN_MAX,
|
||||
)
|
||||
|
||||
const tools = await resolveTools(input)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue