Skip to content

[Test] BYOK Ollama Provider Deprecation #323394

Description

@vritant24

Refs: microsoft/vscode-internalbacklog/issues/323176

Complexity: 1

Authors: @vritant24

Create Issue


Context

The internal Ollama BYOK provider is being deprecated in favor of the official extension. To nudge the users into using the official extension, three additions are made.

  1. Ollama Provider marked as deprecated in the Provider list
  2. If already used, the Ollama Provider Group Name has a link to install the extension
  3. When a model from the Ollama provider is used, a notification is shown asking the user to migrate.

Setup

  • have Ollama installed, along with at least one model loaded.
    docs.ollama.com/quickstart
  • run Ollama serve and note the port number

Test Steps

  1. Open Manage Language Models View, and Click Add Models
  2. Click `Ollama (deprecated) and set it up with the known port number on localhost.
  3. The group should appear in the list in Manage Language Models and you should see the deprecated message and a link to install the official extension
  4. go to the chat window, and select the Ollama model
  5. Send a prompt to the model to start a chat. You should see a notification pop up to install the official extension

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions