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.

Implement pipelines for FIM #87

Description

@aponcedeleonch

We can call directly the endpoint in our gcloud instance from vscode with the following config

"tabAutocompleteModel": {
    "title": "Stacklok Hosted - Non Instruct",
    "provider": "openai",
    "model": "Qwen/Qwen2.5-Coder-14B",
    "apiKey": "$(token)",
    "apiBase": "https://inference.codegate.ai/v1"
  },
  "tabAutocompleteOptions": {
    "debounceDelay": 500
  }

Make the necessary code changes so that the request first passes through CodeGate and then goes to gcloud

Activity

  1. changed the title [-]Call the non-instruct model through CodeGate[/-] [+]Implement pipelines for FIM[/+] on Nov 27, 2024
  2. aponcedeleonch commented on Nov 27, 2024

    @aponcedeleonch
    MemberAuthor

    The description of the task can be generalized to be able to call any model with FIM. The current logic of CodeGate should be already prepared to handle such requests. There are 2 changes that need to be made:

    1. Message normalizer. We now expect all messages to have the key messages. However, there are incoming messages with key prompt. We should standardize the messages before calling our pipeline. Jakub is working on this.
    2. Implement a pipeline for FIM messages independent to chat completion. Potentially in the future the pipelines can be merged. To keep things separated for the moment we should have 2 independent pipelines.
  3. added a commit that references this issue on Nov 28, 2024
  4. aponcedeleonch commented on Nov 28, 2024

    @aponcedeleonch
    MemberAuthor

    Closed via #102

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

Metadata

Metadata

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