Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ollama tab autocomplete sometimes triggers a persistent error popup in vscode #1202

Open
3 tasks done
evertjr opened this issue Apr 28, 2024 · 1 comment
Open
3 tasks done
Labels
bug Something isn't working

Comments

@evertjr
Copy link

evertjr commented Apr 28, 2024

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 evertjr added the bug Something isn't working label Apr 28, 2024
@sestinj
Copy link
Contributor

sestinj commented May 2, 2024

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants