continue
continue copied to clipboard
Ollama tab autocomplete sometimes triggers a persistent error popup in vscode
Before submitting your bug report
- [X] I believe this is a bug. I'll try to join the Continue Discord for questions
- [X] I'm not able to find an open issue that reports the same bug
- [X] I've seen the troubleshooting guide on the Continue Docs
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 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