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

Default contextProvider set overwritten after adding any specific config #3381

Open
3 tasks done
priyashpatil opened this issue Dec 15, 2024 · 1 comment
Open
3 tasks done
Assignees
Labels
area:context-providers Relates to context providers ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior "needs-triage" priority:medium Indicates medium priority

Comments

@priyashpatil
Copy link
Contributor

priyashpatil commented Dec 15, 2024

Before submitting your bug report

Relevant environment info

- OS: MacOS
- Continue version: 0.9.244
- IDE version: VS Code 1.96.0
- Model: NA
- config.json:

Description

By default the list of contextProviders is

  • Files
  • Codebase
  • Prompt File
  • Code
  • Docs
  • Git Diff
  • Terminal
  • Problems
  • Folder

But when added any specific config would hide other context providers requiring to configure via config.

  "contextProviders": [
    {
      "name": "codebase",
      "params": {
        "nRetrieve": 25,
        "nFinal": 10,
        "useReranking": true
      }
    }

Adding the above would reduce the list to

  • Files
  • Codebase
  • Prompt File

I think it would be better to always show all zero config options.

To reproduce

No response

Log output

NA
@sestinj sestinj self-assigned this Dec 15, 2024
@dosubot dosubot bot added area:context-providers Relates to context providers ide:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior priority:medium Indicates medium priority labels Dec 15, 2024
@priyashpatil
Copy link
Contributor Author

This is kinda interesting because, Just found out interesting context providers which I missed out due to earlier configurations.

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:vscode Relates specifically to VS Code extension kind:bug Indicates an unexpected problem or unintended behavior "needs-triage" priority:medium Indicates medium priority
Projects
None yet
Development

No branches or pull requests

2 participants