continue icon indicating copy to clipboard operation
continue copied to clipboard

Ollama tab autocomplete sometimes triggers a persistent error popup in vscode

Open evertjr opened this issue 10 months ago • 1 comments

Before submitting your bug report

Relevant environment info

- OS: macOS
- Continue: Preview
- IDE: vscode

Description

Sometimes when using Ollama with tab autocompletion it triggers an error about parsing the response with server status: "1". This error keeps popping even if I disable notifications from continue and it's very distracting. I think the real bug is it not respecting my notification settings.

To reproduce

in config.json

"tabAutocompleteModel": { "title": "Tab Autocomplete Model", "provider": "ollama", "model": "codeqwen:7b-chat-v1.5-q5_1", "apiBase": "http://localhost:11434" },

1 - enable tab autocomplete 2 - start using it and it randomly trigger this error (I've tested with multiple models) 3 - The popup will stay opened until click close 4 - Even if I click on the cog icon and turn off notification from continue it will eventually show up again

Log output

Error parsing Ollama response: Error: unexpected server status: 1 {"error":"unexpected server status: 1"}

evertjr avatar Apr 28 '24 16:04 evertjr

@evertjr thanks for reporting this. It seems to be happening only in newer Ollama versions as far as I can tell, but I have a fix on the way for the next pre-release

sestinj avatar May 02 '24 21:05 sestinj