fix(confidence-engine): retain successful provider path
This commit is contained in:
+4
-1
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user