fix(confidence-engine): resolve synthesis model configuration
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user