Commit graph

209 commits

Author SHA1 Message Date
Rene Leonhardt
7f505e2c30
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-06 13:41:02 +03:00
Artem Borzov
9ed95f4e4e
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-05 19:02:18 +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 Linnupuu
79ef7550fe fix: send button enabled state 2024-04-02 20:54:59 +03:00
Carl-Robert Linnupuu
35ee02ba79 feat: display total tokens for all providers (closes #397) 2024-04-02 20:43:26 +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
2ad1e4e917 refactor: code completion request creation to use CodeCompletionRequestFactory for better abstraction 2024-03-28 11:29:45 +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 Linnupuu
b72ddfccd6 fix: migrate from StartupActivity to ProjectActivity 2024-03-27 21:48:48 +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
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
Carl-Robert
8507c779b1
feat: support custom OpenAI-compatible service (#383) 2024-02-23 17:41:44 +02:00
jlatiav
c8bb33d9b2
fix: respect proxy settings for azure client (#382) 2024-02-22 12:40:12 +02:00
Oleksii Maryshchenko
9627bbda15
feat: use llama cpp for generation of git commit message. (#380)
* Enable remote llama cpp server for Windows.

* Mixtral instruct template was added.

* Use llama cpp for generation of git commit message.

* style fix
2024-02-22 12:23:22 +02:00
Oleksii Maryshchenko
6e1a116ed2
feat: enable remote server settings for Windows + Mixtral Instruct template (#378)
* Enable remote llama cpp server for Windows.

* Mixtral instruct template was added.
2024-02-21 00:03:06 +02:00
Carl-Robert Linnupuu
29c40a06aa fix: azure credential condition (fixes #375) 2024-02-19 18:17:06 +02:00
Carl-Robert Linnupuu
ad55078107 chore(deps): bump com.knuddels:jtokkit from 0.6.1 to 1.0.0 2024-02-19 14:52:37 +02:00
Carl-Robert Linnupuu
5a88a7d9f3 feat: hide code completion feature for Azure and You service 2024-02-19 14:33:25 +02:00
Carl-Robert Linnupuu
c05b42fddf fix: caret offset location upon document changes (fixes #367) 2024-02-19 14:11:08 +02:00
Carl-Robert Linnupuu
b059aeac6c fix: general settings isModified state 2024-02-19 01:11:29 +02:00
Carl-Robert Linnupuu
08cb81dabf refactor: openai settings form 2024-02-19 00:56:10 +02:00
Carl-Robert Linnupuu
d475ddb36f feat: support custom openai model configuration 2024-02-19 00:46:28 +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
PhilKes
056276d626 fix: Skip AbstractCredentialsManager.setCredential if credential is null 2024-02-09 01:37:08 +02:00
Carl-Robert Linnupuu
e831213509 fix: code completion cancelling 2024-02-08 01:58:15 +02:00
Carl-Robert Linnupuu
1a7e302ae2 fix: decrease prefix/suffix prompt size 2024-02-08 01:57:50 +02:00
Carl-Robert Linnupuu
5ea3609a92 fix: build caused by recent merge 2024-02-08 01:08:28 +02:00
Carl-Robert
93145098f5
feat: settings and credentials refactoring (#360)
* refactor service credential managers

* refactor azure settings

* refactor openai settings

* refactor llama settings

* refactor you settings

* refactor included files settings

* refactor general settings

* refactor advanced settings

* fix advanced settings component init

* refactor project structure

* refactor service settings forms

* remove openai quota exceeded field validator

* fix credential modified conditions

* fix and rearrange minor stuff

* fix you auth logic, add credential cache
2024-02-08 01:02:08 +02:00
squall
7c067d9edd
feat: remote server, add template suport for DeepSeek Coder (#352)
* feat: remote server, add template suport for DeepSeek Coder

* fix checkstyle error
2024-02-08 00:56:01 +02:00
Carl-Robert Linnupuu
097f0914bf refactor: extract configuration state into standalone class 2024-02-07 02:13:22 +02:00
Carl-Robert Linnupuu
d0132c6c34 refactor: clean up unused configuration 2024-02-07 00:49:16 +02:00
Carl-Robert Linnupuu
1aac1f1084 fix: code completion improvements 2024-02-07 00:47:13 +02:00
Carl-Robert Linnupuu
dfca391ed5 fix: revert code completion feature toggle dumbaware actions 2024-02-07 00:45:52 +02:00
Carl-Robert Linnupuu
df14b88617 feat: add the latest OpenAI chat models 2024-02-06 18:49:30 +02:00
Carl-Robert Linnupuu
fe4e02f7f6 Revert "Revert "feat: code completion improvements""
This reverts commit 7f586da0c1.
2024-02-06 02:18:53 +02:00