From b621b69d94722069e4dbbd4d32674dfc17146780 Mon Sep 17 00:00:00 2001 From: zhishi <1951671751@qq.com> Date: Mon, 16 Mar 2026 10:51:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dchat=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/ai/text/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/ai/text/index.ts b/src/utils/ai/text/index.ts index e038ea2..24d5b54 100644 --- a/src/utils/ai/text/index.ts +++ b/src/utils/ai/text/index.ts @@ -61,7 +61,7 @@ const buildOptions = async (input: AIInput, config: AIConfig = {}) => { }; const output = input.output ? (outputBuilders[owned.responseFormat]?.(input.output) ?? null) : null; - const chatModelManufacturer = ["volcengine", "other", "openai", "modelScope", "grsai"]; + const chatModelManufacturer = ["volcengine", "other", "openai", "modelScope", "grsai", "formal"]; const modelFn = chatModelManufacturer.includes(owned.manufacturer) ? (modelInstance as OpenAIProvider).chat(model!) : modelInstance(model!); return {