fix(confidence-engine): resolve synthesis model configuration

This commit is contained in:
2026-08-31 07:32:04 +01:00
parent 75f7c6bafd
commit 8e941b0c7b
4 changed files with 114 additions and 3 deletions
+5 -2
View File
@@ -33,10 +33,13 @@ export async function POST(request) {
);
}
// ── Invoke domain seam with provider resolution ───────────
// ── Invoke domain seam with configured model ──────────────
const result = await synthesizeCurrentUnderstanding(
{ situationGraph, findings },
{ provider: getProvider() }
{
provider: getProvider(),
modelName: process.env.OLLAMA_MODEL ?? null,
}
);
return Response.json({ success: true, currentUnderstanding: result.currentUnderstanding }, { status: 200 });