This commit is contained in:
2026-05-06 11:46:38 +09:00
parent f20388e2d5
commit 00f62bdc34
12 changed files with 353 additions and 50 deletions
+2 -3
View File
@@ -333,9 +333,8 @@ export class AgentExecutor {
}
}
// 3. API Request Setup
const { ollamaUrl, defaultModel: configDefaultModel, timeout } = getConfig();
const actualModel = modelName || configDefaultModel;
// 3. API Request Setup (라인 229에서 이미 추출한 ollamaUrl, configDefaultModel 재사용)
const actualModel = (modelName && modelName.trim()) || configDefaultModel;
const reqMessages = this.buildRequestHistory(this.chatHistory);
// Handle Vision Content Injection