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

Question or Feature Request: Configuration in PyCharm #3399

Open
2 tasks done
barseghyanartur opened this issue Dec 16, 2024 · 0 comments
Open
2 tasks done

Question or Feature Request: Configuration in PyCharm #3399

barseghyanartur opened this issue Dec 16, 2024 · 0 comments
Assignees
Labels
area:configuration Relates to configuration options ide:jetbrains Relates specifically to JetBrains extension kind:enhancement Indicates a new feature request, imrovement, or extension "needs-triage"

Comments

@barseghyanartur
Copy link

Validations

  • I believe this is a way to improve. I'll try to join the Continue Discord for questions
  • I'm not able to find an open issue that requests the same enhancement

Problem

ATM, VS Code allows any type of configuration tweaks. PyCharm doesn't (or I could not find it).

For instance, how to add a custom ollama model? How to specify the embeddings? In VS Code I have this:

{
  "models": [
    {
      "title": "Qwen2.5-Coder 1.5B",
      "provider": "ollama",
      "model": "qwen2.5-coder:1.5b",
      "apiKey": ""
    },
    {
      "title": "Qwen 2.5 Coder 7b",
      "model": "qwen2.5-coder:7b-instruct",
      "provider": "ollama"
    },
    {
      "title": "Qwen 2.5 Coder 32b",
      "model": "qwen2.5-coder:32b-instruct-q2_K",
      "provider": "ollama"
    }
  ],
  "tabAutocompleteModel": {
    "title": "Qwen2.5-Coder 1.5B",
    "provider": "ollama",
    "model": "qwen2.5-coder:1.5b",
    "apiKey": ""
  },
  "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"
    }
  ],
  "embeddingsProvider": {
    "provider": "ollama",
    "model": "nomic-embed-text"
  },

Where and how do I configure that in PyCharm?

Solution

If no such option exist, perhaps consider allowing customisation.

@dosubot dosubot bot added area:configuration Relates to configuration options ide:jetbrains Relates specifically to JetBrains extension kind:enhancement Indicates a new feature request, imrovement, or extension labels Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:configuration Relates to configuration options ide:jetbrains Relates specifically to JetBrains extension kind:enhancement Indicates a new feature request, imrovement, or extension "needs-triage"
Projects
None yet
Development

No branches or pull requests

2 participants