continue
continue copied to clipboard
Header is not defined error
Before submitting your bug report
- [ ] I believe this is a bug. I'll try to join the Continue Discord for questions
- [ ] I'm not able to find an open issue that reports the same bug
- [ ] I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
HOST OS: Window
SERVER OS : Ubuntu
Continue: v0.9.41
IDE: VSCode 1.80.1
Description
I run codellama7b on docker(ollama) on ubuntu server. Then, try to use in vscode with continue on window
When I run the command, an error message saying "header is not defined" like below attached image
To reproduce
No response
Log output
No response
@jingwanha would you mind clicking the "Show Logs" button and sharing the full error that appears in the console? It would also help me debug if you could share your config.json.
@sestinj
This is error page of "Show Logs"
And, this is config information. ` { "allowAnonymousTelemetry": false, "models": [ { "title": "codellama_7b", "provider": "ollama", "model": "codellama:7b", "apiBase": "http://172.21.62.50.12:18819" } ], "embeddingsProvider": { "provider": "ollama", "model":"codellama:7b", "apiBase": "http://172.21.62.50.12:18819"
}, "slashCommands": [ { "name": "edit", "description": "Edit selected code" }, { "name": "comment", "description": "Write comments for the selected code" }, { "name": "share", "description": "Download and share this session" }, { "name": "cmd", "description": "Generate a shell command" } ], "customCommands": [ { "name": "test", "prompt": "Write a comprehensive set of unit tests for the selected code. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete and sophisticated. Give the tests just as chat output, don't edit any file.", "description": "Write unit tests for highlighted code" } ], "contextProviders": [ { "name": "diff", "params": {} }, { "name": "open", "params": {} }, { "name": "terminal", "params": {} }, { "name": "problems", "params": {} }, { "name": "codebase", "params": {} } ] } `
@jingwanha Try upgrading Visual Studio Code to the latest version. I encountered the same error, and it was resolved after upgrading.
@jingwanha everything in your config looks correct, so I do think that unreal-wind's suggestion is probably the solution. Let me know if not!
@unreal-wind @sestinj Thanks for your help. I updated both vscode and continue plugin versions, but I'm still getting the error. (VSCODE : 1.80.1 -> 1.86.0) (Continue Plugin : v0.9.41 -> v0.9.43)
@jingwanha Try upgrading Visual Studio Code to the latest version. I encountered the same error, and it was resolved after upgrading.
works like a charm.