redhat-developer / vscode-granite

Use IBM Granite Code LLM as your Code Assistant in Visual Studio Code
Apache License 2.0
3 stars 6 forks source link

Check minimum required version for Ollama #101

Open fbricon opened 1 week ago

fbricon commented 1 week ago

While trying the new granite3-dense:2b model, continue chat failed

webview message: {
  "msg": {
    "messageId": "db9b67e2-1647-49b6-9354-693aec2e933f",
    "messageType": "llm/streamChat",
    "data": {
      "messages": [
        {
          "role": "user",
          "content": [
            {
              "type": "text",
              "text": "who are you?"
            }
          ]
        }
      ],
      "title": "granite3-dense:2b",
      "completionOptions": {}
    }
  }
}

{"error":"llama runner process has terminated: this model is not supported by your version of Ollama. You may need to upgrade"}

We should require a minimum ollama version. If we can't update it, at least show an error message in the wizard.

neehar18 commented 1 week ago

@fbricon I can take this one up.