Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
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

Description

@ptelang

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions