Fix: Remove redundant import os statements causing UnboundLocalError
- Removed redundant 'import os' statements inside functions (lines 4522, 4926, 5005) - Added back missing 'from llama_cpp import Llama' that was accidentally deleted - Global 'import os' at line 12 is now the only one This fixes the UnboundLocalError when running --list-cached-models or other CLI options.
Showing
Please
register
or
sign in
to comment