You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
Codegate is throwing a 500 error back to Continue #343
Issue reported by Dan Barr: For malicious package detection, Codegate is throwing a 500 error back to Continue. It's an error with /app/codegate_volume/models - looks like the app is expecting that to be a folder containing a file, but in my persistent volume path it's a single binary file.
File "/app/src/codegate/inference/inference_engine.py", line 48, in __get_model
self.__models[model_path] = Llama(
^^^^^^
File "/usr/local/lib/python3.12/site-packages/llama_cpp/llama.py", line 365, in init
raise ValueError(f"Model path does not exist: {model_path}")
ValueError: Model path does not exist: /app/codegate_volume/models/all-minilm-L6-v2-q5_k_m.gguf
Issue reported by Dan Barr: For malicious package detection, Codegate is throwing a 500 error back to Continue. It's an error with /app/codegate_volume/models - looks like the app is expecting that to be a folder containing a file, but in my persistent volume path it's a single binary file.
File "/app/src/codegate/inference/inference_engine.py", line 48, in __get_model
self.__models[model_path] = Llama(
^^^^^^
File "/usr/local/lib/python3.12/site-packages/llama_cpp/llama.py", line 365, in init
raise ValueError(f"Model path does not exist: {model_path}")
ValueError: Model path does not exist: /app/codegate_volume/models/all-minilm-L6-v2-q5_k_m.gguf