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

Open files context no more available in JetBrains #3426

Open
3 tasks done
IngLP opened this issue Dec 17, 2024 · 2 comments
Open
3 tasks done

Open files context no more available in JetBrains #3426

IngLP opened this issue Dec 17, 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

Comments

@IngLP
Copy link

IngLP commented Dec 17, 2024

Before submitting your bug report

Relevant environment info

- OS:
- Continue version: 0.0.83
- IDE version: IntelliJ 2024.3.1 Ultimate
- Model:
- config.json:

Description

I have added "open" to context providers. It works correctly in VSCode. It doesn't appear at all among context providers in IntelliJ.

To reproduce

In IntelliJ, Just type "@" and you will NOT see "open files" among context providers.

Log output

No response

@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 labels Dec 17, 2024
@Patrick-Erichsen
Copy link
Collaborator

Can you share your config.json?

@IngLP
Copy link
Author

IngLP commented Dec 20, 2024

{
  "models": [
    {
      "title": "Bedrock: Claude 3.5 Sonnet",
      "provider": "bedrock",
      "model": "anthropic.claude-3-5-sonnet-20240620-v1:0",
      "region": "eu-central-1",
      "profile": "bedrock-continue",
      "completionOptions": {
        "maxTokens": 4096
      }
    },
    {
      "title": "Azure: GPT-4o",
      "provider": "azure",
      "model": "gpt-4o-2024-08-06-continue",
      "apiBase": "https://openai-sviluppo.openai.azure.com",
      "engine": "gpt-4o-2024-08-06-continue",
      "apiVersion": "2023-03-15-preview",
      "apiType": "azure",
      "apiKey": "",
      "completionOptions": {
        "contextLength": 16000,
        "maxTokens": 3000
      }
    },
    {
      "title": "Gemini Pro 002",
      "provider": "gemini",
      "model": "gemini-1.5-pro-002",
      "apiKey": "",
      "completionOptions": {
        "maxTokens": 4096
      },
      "contextLength": 2000000
    },
    {
      "title": "Gemini Pro Exp 1206",
      "provider": "gemini",
      "model": "gemini-exp-1206",
      "apiKey": "",
      "completionOptions": {
        "maxTokens": 4096
      },
      "contextLength": 2000000
    },
    {
      "title": "Gemini 2.0 Flash Exp",
      "provider": "gemini",
      "model": "gemini-2.0-flash-exp",
      "apiKey": "",
      "completionOptions": {
        "maxTokens": 4096
      },
      "contextLength": 2000000
    },
    {
      "title": "Gemini Flash 002",
      "provider": "gemini",
      "model": "gemini-1.5-flash-002",
      "apiKey": "",
      "completionOptions": {
        "maxTokens": 4096
      }
    },
    {
      "title": "Deepseek",
      "provider": "deepseek",
      "model": "deepseek-coder",
      "apiKey": "sk-"
    },
    {
      "model": "gpt-4o",
      "title": "GPT-4o",
      "apiKey": "sk-proj-",
      "completionOptions": {
        "maxTokens": 4096
      },
      "provider": "openai"
    },
    {
      "model": "o1-mini-2024-09-12",
      "title": "o1-mini",
      "apiKey": "sk-proj-",
      "completionOptions": {
        "maxTokens": 4096
      },
      "provider": "openai"
    },
//    {
//      "title": "Codestral",
//      "provider": "mistral",
//      "model": "codestral-latest",
//      "apiKey": "AB",
//      "completionOptions": {
//        "maxTokens": 4096
//      }
//    },
   {
     "title": "claude-3.5-sonnet-1022",
     "provider": "anthropic",
     "model": "claude-3-5-sonnet-20241022",
     "apiKey": "sk-ant-api03-",
     "completionOptions": {
       "maxTokens": 4096
     }
   }
  ],
  "slashCommands": [
    {
      "name": "edit",
      "description": "Edit selected code"
    },
    {
      "name": "comment",
      "description": "Write comments for the selected code"
    },
    {
      "name": "share",
      "description": "Export this session as markdown"
    },
    {
      "name": "cmd",
      "description": "Generate a shell command"
    },
    {
      "name": "onboard",
      "description": "Familiarize yourself with the codebase"
    }
  ],
  "customCommands": [
    {
      "name": "test",
      "prompt": "Write a comprehensive set of unit tests, using a PyTest class. It should setup, run tests that check for correctness including important edge cases, and teardown. Ensure that the tests are complete. Give the tests just as chat output, don't edit any file. Prefer literal values instead of computed ones. Do this for {{{ input }}}",
      "description": "Write unit tests for "
    },
    {
      "name": "check",
      "description": "Check for mistakes in my code",
      "prompt": "{{{ input }}}\n\nPlease read the highlighted code and check for any mistakes. You should look for the following, and be extremely vigilant:\n- Syntax errors\n- Logic errors\n- Security vulnerabilities\n- Performance issues\n- Anything else that looks wrong\n\nOnce you find an error, please explain it as clearly as possible, but without using extra words. For example, instead of saying 'I think there is a syntax error on line 5', you should say 'Syntax error on line 5'. Give your answer as one bullet point per mistake found."
    },
    {
      "name": "code",
      "description": "Write code as patch",
      "prompt": "{{{ input }}} Output only code as a patch. Write nicely refactored code, avoiding repetitions as most as possible. Ensure the code you write is working, reason step by step if necessary."
    }
  ],
  "contextProviders": [
    {
      "name": "code",
      "params": {}
    },
    {
      "name": "docs",
      "params": {}
    },
    {
      "name": "url"
    },
    {
      "name": "codebase",
      "params": {
        "nRetrieve": 70,
        "nFinal": 30,
        "useReranking": true
      }
    },
    {
      "name": "tree"
    },
    {
      "name": "open",
      "params": {}
    }
  ],
  "embeddingsProvider": {
    "provider": "openai",
    "model": "voyage-code-2",
    "apiBase": "https://api.voyageai.com/v1/",
    "apiKey": "pa-"
  },
  "reranker": {
    "name": "free-trial"
  },
  // "tabAutocompleteModel": {
  //   "title": "Deepseek",
  //   "provider": "deepseek",
  //   "model": "deepseek-coder",
  //   "apiKey": "sk-"
  // },
  "tabAutocompleteModel": {
    "title": "Codestral",
    "provider": "mistral",
    "model": "codestral-latest",
    "apiKey": ""
  },
  "tabAutocompleteOptions": {
    "maxPromptTokens": 4096,
    "debounceDelay": 1000,
    "maxSuffixPercentage": 0.4,
    "useOtherFiles": true
  },
  "allowAnonymousTelemetry": false,
  "docs": [],
  "ui": {
    "displayRawMarkdown": false
  }
}

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
Projects
None yet
Development

No branches or pull requests

2 participants