Commit graph

288 commits

Author SHA1 Message Date
Carl-Robert Linnupuu
76cec21a7d fix: openai image models support 2024-07-19 02:45:59 +03:00
Carl-Robert Linnupuu
a2325c1ce4 fix: replace hard coded max tokens for edit code request 2024-07-19 02:40:35 +03:00
Carl-Robert Linnupuu
ecc4613615 feat: add gpt-4o-mini model 2024-07-19 02:22:58 +03:00
Carl-Robert
1fc47fa889
feat: improve tool window's textbox (#621)
* feat: initial smart user input panel implementation

* refactor: clean up
2024-07-18 14:18:51 +03:00
Laurențiu Lozan
671d9caa07
fix: Numeric values in Custom providers' headers section break configuration. #619 (#620)
https://github.com/carlrobertoh/CodeGPT/issues/619
2024-07-18 11:08:40 +03:00
Carl-Robert Linnupuu
2b9eaea9d4 fix: replace code selection behaviour (fixes #614) 2024-07-12 11:52:43 +03:00
Phil
620226ff1d
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-03 17:38:03 +03:00
Carl-Robert Linnupuu
fbf88bc75a fix: undo action after completion 2024-06-30 16:57:23 +03:00
Carl-Robert Linnupuu
0d8a182f1f fix: increase max_tokens for code edit requests 2024-06-30 15:51:38 +03:00
Carl-Robert
14a0d4085c
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 00:39:52 +03:00
Carl-Robert Linnupuu
cf5f38365d fix: wrong line separators on windows (closes #599) 2024-06-27 18:23:55 +03:00
Carl-Robert Linnupuu
8a7c84ae35 chore: remove You.com support 2024-06-24 17:48:27 +03:00
Carl-Robert Linnupuu
faeca118ee chore: fix checkstyle 2024-06-24 17:34:07 +03:00
Carl-Robert Linnupuu
ab773c475a fix: disable checkForNewScreenshots by default 2024-06-24 17:26:39 +03:00
Carl-Robert Linnupuu
e07af73f61 fix: tool window autoscroller (closes #459) 2024-06-24 17:24:33 +03:00
PhilKes
0789dc40e8 feat: set maxTokens and temperature for Ollama chat and codecompletion 2024-06-17 19:32:01 +03:00
PhilKes
4586838610 feat: optional apiKey field for Ollama service 2024-06-17 19:31:56 +03:00
Carl-Robert Linnupuu
98c3d5073c fix: commit message placeholders 2024-06-17 17:01:24 +03:00
Carl-Robert Linnupuu
3a4208c507 fix: replace codegpt website base url 2024-06-10 12:04:44 +03:00
Carl-Robert Linnupuu
8c92dd5331 Merge branch 'master' of github.com:carlrobertoh/CodeGPT 2024-06-06 00:12:20 +03:00
Carl-Robert Linnupuu
fdb2fb98e0 feat: introduce openai and anthropic models for subscribed users 2024-06-06 00:12:05 +03:00
Rene Leonhardt
ea6b1c8538
feat: Support Codestral 22B 32K (#587) 2024-06-03 11:22:39 +03:00
Carl-Robert Linnupuu
590635bd62 fix: disable code completions by default 2024-05-29 23:35:46 +03:00
Phil
08b592f7e8
feat: add field for environment variables for Llama server (#550)
Co-authored-by: Carl-Robert <carlrobertoh@gmail.com>
2024-05-23 12:55:51 +03:00
Phil
ee6b2d3350
fix: remove trailing slashes from URL text fields (#579) 2024-05-23 01:11:57 +03:00
Rene Leonhardt
73ec3b5d56
feat: Support Phi-3 Medium 128K (#577) 2024-05-23 01:10:02 +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
6f259bf044 fix: backward compatibility issues on plugin update (fixes #551) 2024-05-15 00:09:27 +03:00
Rene Leonhardt
8e5ba8158d
feat: Show server name in start/stop notifications (#546)
* feat: Show server name in start/stop notifications

* feat: Show opposite action in notification

* feat: Pre-select biggest downloaded parameter size on model change

* chore: Update to latest llama.cpp fixes (2024-05-14)
2024-05-14 21:26:22 +03:00
Carl-Robert Linnupuu
de3db77755 feat: add gpt-4o model (closes #547) 2024-05-14 00:03:45 +03:00
Carl-Robert Linnupuu
864f442db1 fix: landing page hyperlinks 2024-05-13 19:04:46 +03:00
Rene Leonhardt
7c668ae143
feat: Start/stop LLaMA Server from statusbar (#544) 2024-05-13 19:02:22 +03:00
Carl-Robert Linnupuu
91c7302008 refactor: remove llama download marker from toolwindow popup menu 2024-05-13 17:56:15 +03:00
Carl-Robert Linnupuu
48e641fc59 Merge branch 'master' of github.com:carlrobertoh/CodeGPT 2024-05-13 15:36:12 +03:00
Carl-Robert Linnupuu
014f26f802 refactor: remove max_tokens configuration and other minor fixes 2024-05-13 15:32:20 +03:00
Rene Leonhardt
9bd7e6e83a
feat: Visualize downloaded models (#543)
* feat: Visualize downloaded models

* Simplify GeneralSettings access
2024-05-13 10:48:55 +03:00
Carl-Robert Linnupuu
0b21652c04 fix: lookup completion request validation 2024-05-11 02:18:24 +03:00
Rene Leonhardt
725bf84ac8
fix: Handle problems graciously (#541) 2024-05-10 15:20:48 +03:00
Carl-Robert Linnupuu
310210957b fix: lookup and commit message completions for codegpt provider 2024-05-09 15:41:04 +03:00
Rene Leonhardt
59acb59843
chore: Update to CodeGemma 1.1 7b Instruct (#534) 2024-05-09 13:08:55 +03:00
Carl-Robert Linnupuu
fedbe11fd2 fix: long-running tasks on EDT when initializing forms 2024-05-09 13:05:38 +03:00
Carl-Robert
7bee59a90e
feat: extract providers into their standalone configurables (#538)
* fix: extract services to their own configurables

* feat: switch to selected provider automatically upon apply

* fix: credentials loading at once

* fix: rename llama.cpp title
2024-05-09 11:16:09 +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
5d2bc13f8c
fix: refresh Ollama models only when service is changed to Ollama (#536) 2024-05-08 16:07:00 +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
Jack Boswell
e40630d796
feat: Implement Ollama as a high-level service (#510)
* Initial implementation of Ollama as a service

* Fix model selector in tool window

* Enable image attachment

* Rewrite OllamaSettingsForm in Kt

* Create OllamaInlineCompletionModel and use it for building completion template

* Add support for blocking code completion on models that we don't know support it

* Allow disabling code completion settings

* Disable code completion settings when an unsupported model is entered

* Track FIM template in settings as a derived state

* Update llm-client

* Initial implementation of model combo box

* Add Ollama icon and display models as list

* Make OllamaSettingsState immutable & convert OllamaSettings to Kotlin

* Add refresh models button

* Distinguish between empty/needs refresh/loading

* Avoid storing any model if the combo box is empty

* Fix icon size

* Back to mutable settings
There were some bugs with immutable settings

* Store available models in settings state

* Expose available models in model dropdown

* Add dark icon

* Cleanups for CompletionRequestProvider

* Fix checkstyle issues

* refactor: migrate to SimplePersistentStateComponent

* fix: add code completion stop tokens

* fix: display only one item in the model popup action group

* fix: add back multi model selection

---------

Co-authored-by: Carl-Robert Linnupuu <carlrobertoh@gmail.com>
2024-05-08 01:11:13 +03:00
Phil
7f7b35d3be
fix: CustomService Test connection with correct settings (#531) 2024-05-07 18:34:35 +03:00
Carl-Robert Linnupuu
13c59cc97b fix: build 2024-05-07 18:20:06 +03:00