fix(confidence-engine): retain successful provider path

This commit is contained in:
2026-09-05 17:12:31 +01:00
parent dabd9e2245
commit 46b9bd8b03
5 changed files with 34 additions and 3 deletions
+4 -1
View File
@@ -247,7 +247,10 @@ class OllamaLlmProvider {
// Step 5: Parse and return
// ================================================================
try {
return recoverJson(rawResponse);
return {
response: recoverJson(rawResponse),
providerApiPath: apiUsed,
};
} catch (e) {
if (e instanceof SyntaxError) {
const error = new Error(