Files
Mai/src/models/mock_lmstudio.py
Mai Development f5ffb7255e
Some checks failed
Discord Webhook / git (push) Has been cancelled
feat(01-01): implement LM Studio adapter with model discovery
- Created LMStudioAdapter class using lmstudio-python SDK
- Added context manager get_client() for safe client handling
- Implemented list_available_models() with size estimation
- Added load_model(), unload_model(), get_model_info() methods
- Created mock_lmstudio.py for graceful fallback when lmstudio not installed
- Included error handling for LM Studio not running and model loading failures
- Implemented Pattern 1 from research: Model Client Factory
2026-01-27 11:59:48 -05:00

769 B