Fatal Error: Cannot read properties of undefined (reading 'toLowerCase')
**Config Errors Please resolve the following errors in your assistant configuration.
Fatal Error: Cannot read properties of undefined (reading 'toLowerCase')**
this is the content of my config.json file. Please help me solve it. i have already deleted the API to protect my privacy
{ "models": [ { "title": "Claude 3.5 Sonnet (Free Trial)", "provider": "free-trial", "model": "claude-3-5-sonnet-latest", "systemMessage": "You are an expert software developer. You give helpful and concise responses." }, { "title": "GPT-4o (Free Trial)", "provider": "free-trial", "model": "gpt-4o", "systemMessage": "You are an expert software developer. You give helpful and concise responses." }, { "title": "Llama3.1 70b (Free Trial)", "provider": "free-trial", "model": "llama3.1-70b", "systemMessage": "You are an expert software developer. You give helpful and concise responses." }, { "title": "Codestral (Free Trial)", "provider": "free-trial", "model": "codestral-latest", "systemMessage": "You are an expert software developer. You give helpful and concise responses." }, { "model": "claude-3-5-sonnet-latest", "provider": "anthropic", "apiKey": "", "title": "Claude 3.5 Sonnet" }, { "title": "DeepSeek Coder 2 Lite", "model": "deepseek-2-lite", "provider": "ollama" }, { "title": "DeepSeek Coder", "model": "deepseek-coder", "contextLength": 128000, "apiKey": "", "provider": "deepseek" }
], "tabAutocompleteModel": { "title": "Codestral", "provider": "mistral", "model": "codestral-latest", "apiKey": "" }, "contextProviders": [ { "name": "code", "params": {} }, { "name": "docs", "params": {} }, { "name": "diff", "params": {} }, { "name": "terminal", "params": {} }, { "name": "problems", "params": {} }, { "name": "folder", "params": {} }, { "name": "codebase", "params": {} } ], "slashCommands": [ { "name": "share", "description": "Export the current chat session to markdown" }, { "name": "cmd", "description": "Generate a shell command" }, { "name": "commit", "description": "Generate a git commit message" } ], "embeddingsProvider": { "provider": "free-trial" }, "reranker": { "name": "free-trial" } }
@thgg666
Downgrading my extension version to 1.0.3 works for me, but I would try 1.0.4 first since I skipped that.
How to downgrade extension version in VSCode:
Click on the extensions tab Click on the dropdown arrow next to
uninstallClickInstall specific versionChoose version & wait ClickRestart Extensions
This should temporarily solve your issue.
I had a similar problem at pre-release version 1.1.23
@ElijahAlly thans,man. i have allready solved my problem ,just delect the text "reranker": { "name": "free-trial" } in config.json ,then continue would not give the error
@thgg666 works for me, thanks.
Why aren't all of the users facing this issue only us have to remove reranker? weird
asking, coz we cant be looking for solutions after every new version
@ElijahAlly thans,man. i have allready solved my problem ,just delect the text "reranker": { "name": "free-trial" } in config.json ,then continue would not give the error
thanks,that works well for me.
yes, deleting the ranker entry worked - wth is that?
thanks :)
You can find the files here on Mac according to the doc, in case your continue ui in IDE freezes
~/.continue/
Thanks y'all for all of the +1s! I'm sorry it took some time to get to this, but I'm going to make a hot fix today
https://github.com/continuedev/continue/releases/tag/v1.1.28-vscode This was just released in a hotfix pre-release
@sestinj you should be able to close this one