Commit graph

83 commits

Author SHA1 Message Date
Carl-Robert Linnupuu
2bc3d8d645 fix: ollama stream requests (fixes #646) 2024-09-05 13:24:30 +03:00
Carl-Robert Linnupuu
4898c8580c feat: add apply and diff actions for toolwindow code editor 2024-09-04 18:02:41 +03:00
Carl-Robert Linnupuu
a546217155 test: add test coverage for code completions 2024-09-01 17:40:44 +03:00
Carl-Robert Linnupuu
753ee7db0f feat: add git context to code completions 2024-08-27 18:36:36 +03:00
Carl-Robert Linnupuu
2f7ba826c7 refactor: implement ConfigurationSettings as a Kotlin service (#634) 2024-08-23 11:47:42 +03:00
Carl-Robert Linnupuu
0584c31530 feat: improve chat UI performance 2024-08-02 16:09:44 +03:00
Carl-Robert
307c12e15d feat: improved popup suggestions and personas support (#638)
* feat: support personas

* fix: replace previous system prompts with personas

* feat: add persona toolbar label

* refactor: rename properties

* refactor: clean up

* fix: personas settings configurable state

* refactor: code cleanup

* feat: list item auto highlightning

* feat: replace personas toolbar label with action link

* refactor: code cleanup

* fix: manual items not being able to delete

* fix: personas settings configurable state

* refactor: clean up code

* fix: folder selection
2024-07-26 15:06:09 +03:00
Carl-Robert Linnupuu
98650ee1d6 fix: build (ignore py tests) 2024-07-12 16:31:19 +03:00
Phil
60d71cd301 feat: add project context to code completions (#571)
* feat: add context to code completions

* feat: context finder for Python

* feat: improve and refactor context finder for Python

* feat: include method calls in JavaContextFinder

* test: add JavaContextFinder tests

* test: add PythonContextFinder tests

* fix: CompletionContextService thread

* fix: InfillPromptTemplate context files string

* refactor: simplify findRelevantElements for Java and Python

* feat: only add code snippets instead of files for code-completion context

* feat: add default multi-file prompt template

* fix: add Codestral multi-file FIM

* feat: add feature flag for context aware code completions

* feat: truncate project context elements for code completion
2024-07-12 14:25:24 +03:00
Carl-Robert Linnupuu
ccbf7fc722 fix: test anomalies 2024-07-01 14:13:48 +03:00
Carl-Robert
b1d8c521c4 feat: fast code edits (#601)
* feat: initial implementation of direct code edits

* fix: popup model selection

* refactor: simplify code replacement logic

* feat: interactive code modifications

* refactor: remove junk
2024-06-30 01:22:18 +03:00
Carl-Robert Linnupuu
786abd0b31 chore: remove You.com support 2024-06-30 01:22:03 +03:00
PhilKes
cdcffc249d feat: set maxTokens and temperature for Ollama chat and codecompletion 2024-06-21 11:40:24 +03:00
Carl-Robert Linnupuu
9fc685a93a fix: commit message placeholders 2024-06-17 16:54:06 +03:00
Carl-Robert Linnupuu
63480ffdb4 Merge remote-tracking branch 'origin/master' into platform/2024.1 2024-06-06 02:35:08 +03:00
Rene Leonhardt
ea6b1c8538
feat: Support Codestral 22B 32K (#587) 2024-06-03 11:22:39 +03:00
Rene Leonhardt
586cff421e
feat: Support Stable Code Instruct 3B (#552)
* feat: Support Stable Code Instruct 3B

* feat: Sort LLaMA models in settings
2024-05-16 22:28:54 +03:00
Carl-Robert Linnupuu
8883200817 Merge remote-tracking branch 'origin/master' into platform/2024.1 2024-05-09 14:00:56 +03:00
Carl-Robert
0852c27170
feat: add CodeGPT "native" API provider (#537)
* feat: support codegpt client

* feat: add basic request handler test

* refactor: minor cleanup
2024-05-08 23:59:51 +03:00
Phil
74fc2e6219
feat: add Google Gemini API support (#535) 2024-05-08 16:51:32 +03:00
Phil
dcd0a3fc51
Revert "fix: use /infill for llama.cpp code-completions (#513)" (#533)
This reverts commit 8de72b3301.
2024-05-08 16:06:14 +03:00
Rene Leonhardt
ee16bfee10
feat: Support CodeQwen1.5-Chat model (#527)
* feat: Support CodeQwen1.5-Chat model

* Declare model directories explicitly
2024-05-08 16:05:51 +03:00
Rene Leonhardt
a2a8747aca
feat: Support CodeGemma 7b Instruct model (#524) (#525) 2024-05-07 10:43:14 +03:00
Rene Leonhardt
6d6e0a3ccb
feat: Support Phi-3 Mini model (#516) 2024-04-27 23:50:03 +03:00
Phil
8de72b3301
fix: use /infill for llama.cpp code-completions (#513) 2024-04-25 16:47:56 +03:00
Carl-Robert Linnupuu
e7ef58ad3d Merge remote-tracking branch 'origin/master' into platform/2024.1 2024-04-22 11:49:37 +03:00
Carl-Robert Linnupuu
7899429d4f fix: llama3 prompt 2024-04-21 23:01:33 +03:00
Rene Leonhardt
6e6a499105
feat: Support Llama 3 model (#479)
* feat: Support Llama 3 model (#478)

* Use new InfillPrompt

* Switch to lmstudio-community

* Use new Prompt

* llama.cpp removed the BOS token
https://github.com/ggerganov/llama.cpp/pull/6751/commits/a55d8a9348fc9e9215229bf03f96ecff4dcc7c91

* Add tests

* I would prefer a stream based solution

* Add 70B models

* Add tests for skipping blank system prompt

* Remove InfillPrompt for now
2024-04-21 01:12:13 +03:00
Rene Leonhardt
67dc425a94
fix: Telemetry can't serialize traits anymore (#477)
* fix: Telemetry can't serialize traits anymore

* Add tests
2024-04-19 17:06:37 +03:00
Simon Svensson
b2d9442eba
fix: custom OpenAI service settings sync (#472) 2024-04-17 12:46:21 +03:00
René
2221d72430
feat: add support for placeholders in prompts (#458)
* fixes #432 adds support for Placeholders in Prompts

- activate gradle plugin Git4Idea
- adds PlaceholderUtil
- adds DATE_ISO_8601 PlaceholderReplacer
- adds BRANCH_NAME PlaceholderReplacer

* convert to kotlin, improve ui and add int. test

* fix: do not reuse projects from previous test runs

---------

Co-authored-by: Carl-Robert Linnupuu <carlrobertoh@gmail.com>
2024-04-17 11:41:21 +03:00
Rene Leonhardt
3a9e212582 fix: Use System Prompt from user configuration (#454) (#455) 2024-04-15 16:10:55 +03:00
Rene Leonhardt
5f16213bd1
fix: Use System Prompt from user configuration (#454) (#455) 2024-04-15 11:42:42 +03:00
Carl-Robert Linnupuu
27efef6223 Merge remote-tracking branch 'origin/master' into platform/2024.1 2024-04-12 17:26:05 +03:00
Rene Leonhardt
0cdd5096ba
chore: Convert Java tests to Kotlin (#447) 2024-04-11 12:03:31 +03:00
Rene Leonhardt
7d89650062
chore: Improve code (#442)
* chore: Improve code

* Convert classes to records
2024-04-10 14:47:38 +03:00
Carl-Robert Linnupuu
b638f2b27e fix: multi-line partial completion acceptance 2024-04-07 22:12:24 +03:00
Carl-Robert Linnupuu
dcee4fdbb3 Merge remote-tracking branch 'origin/master' into platform/2024.1 2024-04-07 18:24:16 +03:00
Carl-Robert Linnupuu
4688a1c8d0 refactor: remove 'Standard' prefix from toolwindow component class names, and other minor cleanup 2024-04-07 16:45:04 +03:00
Carl-Robert Linnupuu
f0172722c7 feat: add support for configuring code completions via settings 2024-04-03 02:02:15 +03:00
Carl-Robert
8cf5720db9
feat: OpenAI and Claude vision support (#430)
* feat: add OpenAI and Claude vision support

* refactor: replace awaitility with PlatformTestUtil.waitWithEventsDispatching

* feat: display error when image not found

* chore: bump llm-client

* feat: configurable file watcher and minor code cleanup

* fix: ensure image notifications are triggered only for image file types

* docs: update changelog

* fix: user textarea icon button behaviour

* refactor: minor cleanup
2024-04-02 02:50:41 +03:00
Carl-Robert Linnupuu
a825d1cdb4 feat: support partial completion acceptance 2024-03-30 16:02:38 +02:00
Carl-Robert Linnupuu
6255bf9eb6 fix: preload credentials to avoid long running tasks on EDT 2024-03-28 00:09:49 +02:00
Carl-Robert
657868453f
feat: migrate to a new inline completion api (#425)
* fix: plugin since/until build versions

* add necessary kotlin deps

* migrate to new inline completions api

* remove previous implementation

* replace build and platform versions

* bump gradle-intellij-plugin version
2024-03-27 14:34:09 +02:00
Carl-Robert Linnupuu
c0c02d9afb refactor: remove custom Azure service configuration 2024-03-14 14:58:58 +02:00
Carl-Robert Linnupuu
42105bf308 refactor: clean up old code 2024-03-14 14:34:29 +02:00
Carl-Robert
91dd7bdb43
feat: apply post-processing for code completions (#404) 2024-03-11 23:13:10 +02:00
Dmitry Melanchenko
12cf5198f8
feat: implement support for You Pro modes (#399)
* Implement support for You Pro modes: Default, Agent, Custom with various 3rd party models and Research

* Update list of You modes/models depending on user having subscription

* add default value for chatMode
2024-03-11 22:25:33 +02:00
Carl-Robert
8507c779b1
feat: support custom OpenAI-compatible service (#383) 2024-02-23 17:41:44 +02:00
Carl-Robert Linnupuu
4ed74a31c1 feat: second set of autocomplete improvements
- support typing as suggested functionality
- do not fetch completions on cursor change
- other minor fixes
2024-02-11 01:31:34 +02:00