Centralize model resolution logic in cache module
- Added resolve_and_load_model() function to codai.models.cache - Simplified codai/api/images.py by removing 100+ lines of complex model resolution logic - API modules now use single centralized function for all model loading - Eliminates code duplication across API endpoints - All model resolution logic now managed in one place
Showing
Please
register
or
sign in
to comment