Commit graph

233 commits

Author SHA1 Message Date
Phil
5cd9531246 fix: focus on new editor action and refresh editor actions on apply (#518) 2024-05-13 15:54:00 +03:00
Phil
1842c98084 fix: use /infill for llama.cpp code-completions (#513) 2024-05-13 15:53:46 +03:00
Carl-Robert Linnupuu
28aac5a369 fix: commit message generation for custom openai services (closes #496) 2024-05-13 15:52:53 +03:00
Rene Leonhardt
10b8535347 fix: NPE when using unsupported model for code completions (#499) 2024-05-13 15:52:48 +03:00
Rene Leonhardt
f7ce60e1a4 feat: Add Llama 3 download sizes (#498) 2024-05-13 15:52:44 +03:00
Carl-Robert Linnupuu
ff528e91e0 fix: build errors 2024-04-22 00:07:39 +03:00
Carl-Robert Linnupuu
69dc2ea9fc fix: llama server success callback trigger 2024-04-22 00:00:41 +03:00
Carl-Robert Linnupuu
477d51ce7c fix: llama3 prompt 2024-04-22 00:00:35 +03:00
Rene Leonhardt
fe06f559b3 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 23:47:55 +03:00
Simon Svensson
2eb21ea295 feat: code completion for "Custom OpenAI Service" (#476)
* Add code completion setting states for custom service

* Add settings for code completion in Custom OpenAI service

* Move code completion section to the bottom

* Create test testFetchCodeCompletionCustomService

* Add Custom OpenAI to the "Enable/Disable Completion" actions

* New configuration UI separating /v1/chat/completions from /v1/completions

* Code completion for Custom Service

* Formatting fixes

* Move prefix and suffix to templates in body

* Message updates

* New tabbed UI for Chat and Code Completions

* convert to kotlin, improve ui and other minor changes

* fix test connection for chat completions

* add help tooltips

* allow backward compatibility

* support prefix and suffix placeholders

* fix initial state loading

---------

Co-authored-by: Jack Boswell (boswelja) <boswelja@outlook.com>
Co-authored-by: Carl-Robert Linnupuu <carlrobertoh@gmail.com>
2024-04-21 23:47:25 +03:00
Phil
98d28f3fc6 feat: add input field for llama server build parameters and improve error handling (#481) 2024-04-21 23:43:53 +03:00
Rene Leonhardt
f02e3cedbe fix: Telemetry can't serialize traits anymore (#477)
* fix: Telemetry can't serialize traits anymore

* Add tests
2024-04-21 23:42:52 +03:00
Phil
5e297e4d87 feat: add include file in context to editor context menu (#475)
* feat: add include file in context to editor context menu

* fix: custom title for IncludeFilesInContextAction in editor context menu
2024-04-21 23:42:45 +03:00
Rene Leonhardt
11881f23e8 chore: Convert utils to Kotlin (#473)
* chore: Convert utils to Kotlin

* Remove nullable operators
2024-04-21 23:42:37 +03:00
Rene Leonhardt
d94865be8a fix: High CPU usage in new files check (#446) (#474)
* fix: High CPU usage in new files check (#446)

* Resolve absolute path
2024-04-21 23:42:24 +03:00
Simon Svensson
bd1b85fc3e fix: custom OpenAI service settings sync (#472) 2024-04-21 23:37:56 +03:00
René
74a4f01e6c 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-21 23:37:43 +03:00
Rene Leonhardt
6454773946 fix: Use System Prompt from user configuration (#454) (#455) 2024-04-15 16:05:31 +03:00
Carl-Robert Linnupuu
7e92291b26 fix: compatibility problems 2024-04-12 18:20:37 +03:00
Carl-Robert Linnupuu
b6be76f40c fix: temporarily disable tree-sitter logic (fixes #452) 2024-04-12 17:40:21 +03:00
Rene Leonhardt
4c466e4618 fix: Use correct setting for updates and screenshot checkboxes (#446) (#451) 2024-04-12 17:37:23 +03:00
Rene Leonhardt
e4e98466cf fix: Catch AssertionError in countTokens() (#445) 2024-04-12 17:34:05 +03:00
Rene Leonhardt
ba7b51684e chore: Improve code (#442)
* chore: Improve code

* Convert classes to records
2024-04-12 17:33:56 +03:00
Rene Leonhardt
f7702286f3 Update to latest 233 platform 2023.3.6 (#439)
* Update to latest 233 platform 2023.3.6

* Use first non-blank choice from response
2024-04-12 17:31:59 +03:00
Carl-Robert Linnupuu
f0c74c04dd Revert "fix: correctly handle changed files to generate a commit message #338 (#433)"
This reverts commit 9ed95f4e4e.
2024-04-10 15:12:39 +03:00
Rene Leonhardt
8fad64eb57 chore(deps): Update checkstyle to 10.15.0 (#438)
* Cleaned versions catalog and dependencies
* Fixed checkstyle finding
2024-04-07 17:13:17 +03:00
Carl-Robert Linnupuu
662e9986b2 refactor: remove 'Standard' prefix from toolwindow component class names, and other minor cleanup 2024-04-07 17:12:56 +03:00
Rene Leonhardt
dbf05aebc6 chore(deps): Update and centralize dependencies (#436)
* chore(deps): Update and centralize dependencies

* Update treesitter to 0.22.2
* Update kotlin to 1.9.23
* Update jackson to 2.17.0
* Update gradle-intellij-plugin to 1.17.3
* Update gradle to 8.7
* Use BOMs where possible
* Centralize dependencies in version catalog
* Allow Dependabot to update other modules (add treesitter and buildSrc/src/main/kotlin, remove core)

* fix: preload credentials only once for all headers
2024-04-07 17:12:50 +03:00
Artem Borzov
a23371deb7 fix: correctly handle changed files to generate a commit message #338 (#433)
* fix: properly handle changed files to generate commit message (resolve #338)

* fix: re-include staged diff in the final prompt

---------

Co-authored-by: borzov <borzov@skbkontur.ru>
Co-authored-by: Carl-Robert Linnupuu <carlrobertoh@gmail.com>
2024-04-07 17:12:02 +03:00
Carl-Robert Linnupuu
478be075d9 fix: send button enabled state 2024-04-03 02:25:02 +03:00
Carl-Robert Linnupuu
db182e6377 feat: display total tokens for all providers (closes #397) 2024-04-03 02:24:46 +03:00
Carl-Robert
68e35ff323 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-03 02:24:29 +03:00
Carl-Robert Linnupuu
9d6346a979 fix: preload credentials to avoid long running tasks on EDT 2024-04-03 02:19:57 +03:00
Carl-Robert Linnupuu
a882bb82fe fix: migrate from StartupActivity to ProjectActivity 2024-04-03 02:19:42 +03:00
Chris Campbell
8ccf331988
fix: Allow single Java files to be added to context (#420) 2024-03-25 11:50:49 +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 Linnupuu
8151a69c7e fix: DeleteConversationAction update thread 2024-03-14 14:06:56 +02:00
Carl-Robert Linnupuu
a7610acfa1 fix: couple of intellij platform warnings 2024-03-13 16:47:00 +02:00
Carl-Robert Linnupuu
1edea138cf chore: bump sinceBuild and javaVersion 2024-03-13 11:53:15 +02:00
Carl-Robert Linnupuu
678768c069 fix: intellij platform warning (#400) 2024-03-12 23:13:16 +02:00
Carl-Robert Linnupuu
8c986fd7de feat: support git commit message generation with custom openai and anthropic service (#390) 2024-03-12 21:27:51 +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 Linnupuu
74e0db5eb6 fix: add default api version 2024-03-06 15:07:58 +02:00
Carl-Robert
9706a357d2
feat: support claude completions (#398) 2024-03-06 12:48:29 +02:00
squall
20c31de21d
fix: completion prompt template for Deepseek Coder (#387)
* fix: completion prompt template for Deepseek Coder

* Add stop token
2024-02-29 16:23:29 +02:00
Carl-Robert Linnupuu
88946343c5 fix: custom service request body value conversions 2024-02-24 17:06:52 +02:00
Carl-Robert Linnupuu
eeda43b0e4 feat: support lookup completions for custom openai service 2024-02-24 14:38:51 +02:00
Carl-Robert Linnupuu
557f9b0ca0 fix: custom service request body serialization 2024-02-24 01:12:21 +02:00