fix(confidence-engine): sanitize focused reasoning outage
This commit is contained in:
@@ -439,6 +439,9 @@ class OllamaLlmProvider {
|
||||
`- Use a smaller model (e.g., llama3.1 instead of llama3.1:70b)\n` +
|
||||
`- Check Ollama logs: \`ollama serve\` or look at your system logs`
|
||||
);
|
||||
if (e?.name === "AbortError" || e instanceof TypeError) {
|
||||
error.code = "PROVIDER_UNAVAILABLE";
|
||||
}
|
||||
error.providerApiPath = apiUsed;
|
||||
error.providerExecution = providerExecution;
|
||||
throw error;
|
||||
|
||||
Reference in New Issue
Block a user