mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-31 22:32:28 +00:00
fix(app): support anthropic models on azure cognitive services (#8335)
This commit is contained in:
committed by
GitHub
parent
6e028ec2dc
commit
b8e2895dfc
@@ -133,12 +133,7 @@ export namespace LLM {
|
||||
|
||||
const maxOutputTokens = isCodex
|
||||
? undefined
|
||||
: ProviderTransform.maxOutputTokens(
|
||||
input.model.api.npm,
|
||||
params.options,
|
||||
input.model.limit.output,
|
||||
OUTPUT_TOKEN_MAX,
|
||||
)
|
||||
: ProviderTransform.maxOutputTokens(input.model, params.options, OUTPUT_TOKEN_MAX)
|
||||
|
||||
const tools = await resolveTools(input)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user