Improves model fetch error notification message

Updates error notification to provide clearer feedback when API model retrieval fails

Enhances user experience by making the fallback model list error message more descriptive and informative
This commit is contained in:
AlexKucera committed 2025-10-24 11:22:33 +02:00
1 parent 4164471ed0
commit 766eb26df3
1 file changed
+1 -1
+1 -1
View File
@@ -39,7 +39,7 @@ export class ModelService {
return this.formatModels(response.data);
} catch (error) {
console.error('Failed to fetch models from API:', error);
new Notice('Fetching current models failed. Using hardcoded fallback list.');
new Notice('Could not fetch latest models from API. Using default model list.');
return this.getFallbackModels();
}
}