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

Error getting context items from codebase: Error: {"error":{"code":"404","message": "Resource not found"}} #2541

Open
3 tasks done
Seany84 opened this issue Oct 16, 2024 · 2 comments
Assignees
Labels
area:context-providers Relates to context providers ide:jetbrains Relates specifically to JetBrains extension kind:bug Indicates an unexpected problem or unintended behavior priority:medium Indicates medium priority

Comments

@Seany84
Copy link

Seany84 commented Oct 16, 2024

Before submitting your bug report

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

  1. Configure plugin with Azure OpenAI for model and embedding provider.
  2. Use @codebase command

Log output

[2024-10-16T09:24:45] Error retrieving from FTS: Error: SQLITE_ERROR: no such table: fts
@dosubot dosubot bot added area:context-providers Relates to context providers ide:jetbrains Relates specifically to JetBrains extension kind:bug Indicates an unexpected problem or unintended behavior priority:medium Indicates medium priority labels Oct 16, 2024
@Patrick-Erichsen
Copy link
Collaborator

This appears to perhaps be related to this: #2089 (comment)

We are also getting a somewhat similar error here: #2474

@Seany84 , could you try clearing your index? rm -rf ~/.continue/index

@Seany84
Copy link
Author

Seany84 commented Oct 22, 2024

@Patrick-Erichsen I've deleted everything inside the ~/continue/index folder and restarted Rider, still getting the exact same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:context-providers Relates to context providers ide:jetbrains Relates specifically to JetBrains extension kind:bug Indicates an unexpected problem or unintended behavior priority:medium Indicates medium priority
Projects
None yet
Development

No branches or pull requests

3 participants