新增自定义模型

This commit is contained in:
jwangkun
2026-01-08 20:47:59 +08:00
parent 579071ac95
commit 82b46f93ce
10 changed files with 242 additions and 47 deletions

View File

@@ -99,8 +99,8 @@ export const useDeepThink = () => {
setProcessStartTime(Date.now());
setProcessEndTime(null);
const provider = getAIProvider(model);
const customModelConfig = findCustomModel(model, config.customModels);
const provider = customModelConfig?.provider || getAIProvider(model);
const ai = getAI({
provider,