Error getting context items from codebase: Error: {"error":{"code":"404","message": "Resource not found"}}
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: Windows 11
- Continue version: 0.0.75
- IDE version: JetBrains Rider v2024.2.8 build #RD-242.23339.62, built on October 8, 2024
- Model: Azure OpenAI 4o, ollama qwen2.5-coder:1.5b and openai text-embedding-3-large
- config.json:
{
"models": [
{
"title": "Azure OpenAI 4o",
"provider": "openai",
"model": "gpt-4o",
"apiBase": "[REDACTED]",
"engine": "gpt-4o",
"apiVersion": "2024-05-01-preview",
"apiType": "azure",
"apiKey": "[REDACTED]"
}
],
"tabAutocompleteModel": {
"title": "Tab Autocomplete Model",
"provider": "ollama",
"model": "qwen2.5-coder:1.5b",
"apiBase": "[REDACTED]:11434/"
},
"embeddingsProvider": {
"provider": "openai",
"model": "text-embedding-3-large",
"apiBase": "[REDACTED]",
"apiVersion": "1",
"apiKey": "[REDACTED]",
"apiType": "azure"
},
"customCommands": [
{
"name": "test",
"prompt": "{{{ input }}}\n\nWrite 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": "folder",
"params": {}
},
{
"name": "codebase",
"params": {}
}
],
"slashCommands": [
{
"name": "edit",
"description": "Edit selected code"
},
{
"name": "comment",
"description": "Write comments for the selected code"
},
{
"name": "share",
"description": "Export the current chat session to markdown"
},
{
"name": "commit",
"description": "Generate a git commit message"
}
]
}
Description
Using OpenAI for model and tab completion works but the @Codebase command returns an error every time.
To reproduce
- Configure plugin with Azure OpenAI for model and embedding provider.
- Use @Codebase command
Log output
[2024-10-16T09:24:45] Error retrieving from FTS: Error: SQLITE_ERROR: no such table: fts
This appears to perhaps be related to this: https://github.com/continuedev/continue/issues/2089#issuecomment-2323159863
We are also getting a somewhat similar error here: https://github.com/continuedev/continue/issues/2474
@Seany84 , could you try clearing your index? rm -rf ~/.continue/index
@Patrick-Erichsen I've deleted everything inside the ~/continue/index folder and restarted Rider, still getting the exact same error.
@Seany84 are you still seeing this in recent versions?
@RomneyDa I am still experiencing this issue with embeddings (on both IntelliJ and VSCode with v1.0.1):
[2025-02-28T21:56:59] Error retrieving from FTS: Error: SQLITE_ERROR: no such table: fts
This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.
This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!