mirror of
https://github.com/signerless/llm-checker.git
synced 2026-10-19 01:49:22 +00:00
Fixed remaining unprotected spawn('ollama') calls across multiple files:
- src/models/deterministic-selector.js: Added ENOENT error handling in runOllamaCommand and getModelDetails
- ml-model/js/cli.js: Protected getAvailableModels and runOllamaModel functions
- Added proper try-catch blocks around all spawn calls
- Added graceful fallbacks when Ollama executable is not found
- Enhanced error messages to guide users to install Ollama
This should completely resolve the Windows ENOENT crash when Ollama is not installed.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| cli.js | ||
| index.js | ||
| test.js | ||