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 security analysis doesn't seem to be working in the latest python build #263

Description

@dussab

I'm running the following prompt "Hey codegate how can i fix "@GetMapping("/hello")" and I'm getting the following response:

Image

In prior versions, I would get more security focused responses that were prefixed with "Codegate Security Analysis" (see previous test cases doc )

I'm running CodeGate version 1.2.3 with the following config:

{
  "models": [
    {
      "title": "stacklok-hosted",
      "provider": "vllm",
      "model": "Qwen/Qwen2.5-Coder-14B-Instruct",
      "apiKey": "[KEY]",
      "apiBase": "http://localhost:8989/vllm/"
    }
  ],
  "modelRoles": {
    "default": "stacklok-hosted"
  },
  "tabAutocompleteModel": {
    "title": "stacklok-hosted",
    "provider": "vllm",
    "model": "Qwen/Qwen2.5-Coder-14B-Instruct",
    "apiKey": "[KEY],
    "apiBase": "http://localhost:8989/vllm/"
  }
}


Activity

  1. ptelang commented on Dec 10, 2024

    @ptelang
    Contributor

    @dussab, This is fixed. Please retry after with the new docker image.

  2. self-assigned this
    on Dec 10, 2024
  3. dussab commented on Dec 10, 2024

    @dussab
    MemberAuthor

    I'm getting the same result with container id: sha256:a9a5d5d6b9003e1f44031f1b90ef3bcd3fc7a0a0110a448a5617657c83e2da7b

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

Metadata

Metadata

Assignees

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