• Your Name's avatar
    Fix architecture: Proper separation of Model Manager and Cache responsibilities · 7788ce85
    Your Name authored
    - **Model Manager**: Central coordinator for model lifecycle, alias resolution, loading/unloading
    - **Cache Module**: Handles downloading, caching, and storage of models
    - **API Modules**: Request models from Model Manager (not directly from cache)
    
    Key changes:
    - Removed resolve_and_load_model() from cache - moved logic to Model Manager
    - Model Manager now downloads/caches models at startup when registered
    - API modules use multi_model_manager.load_model() instead of cache functions
    - Proper separation: Cache=storage, Manager=lifecycle coordination, APIs=requests
    
    This fixes the incorrect direct API-to-cache coupling and establishes proper architectural boundaries.
    7788ce85
Name
Last commit
Last update
..
cache Loading commit data...
__init__.py Loading commit data...
capabilities.py Loading commit data...
grammar.py Loading commit data...
manager.py Loading commit data...
parser.py Loading commit data...
templates.py Loading commit data...
tool_call_grammar.gbnf Loading commit data...
utils.py Loading commit data...