Commit graph

139 commits

Author SHA1 Message Date
Carl-Robert
44e5aa79dd
Support git commit message generation (#276)
* Add git commit message generation feature using OpenAI service
2023-11-17 01:20:00 +02:00
Carl-Robert
c4115e257b
Add checkstyle rules (#274) 2023-11-16 17:15:11 +02:00
Carl-Robert Linnupuu
318dd4286a Fix minor issues related to total tokens calculation 2023-11-15 00:44:13 +02:00
Carl-Robert Linnupuu
346218b512 Clean up code 2023-11-14 16:20:59 +02:00
Carl-Robert Linnupuu
ec3120a5e6 Add interactive total token count label, codebase refactoring 2023-11-14 13:27:15 +02:00
Carl-Robert Linnupuu
d8e5e18998 Expand/Collapse logic for toolwindow editors 2023-11-10 15:06:22 +02:00
Carl-Robert Linnupuu
dea80fe8aa Fix model changed logic 2023-11-10 01:37:07 +02:00
Carl-Robert Linnupuu
14acc5b09f Remove Azure model selection and max completion token limit 2023-11-09 20:31:19 +02:00
Carl-Robert Linnupuu
5446e675fc Minor UI updates 2023-11-09 19:11:40 +02:00
Carl-Robert Linnupuu
c3da76f2bd Clean up BaseChatToolWindowTabPanel code 2023-11-09 18:43:05 +02:00
Carl-Robert
cfa5ff7776
Use enum value to store selected service (#265) 2023-11-08 19:17:25 +02:00
Carl-Robert
1e4c1e3ca9
Bump llm-client, remove credentials validation for llama service (#263) 2023-11-07 16:37:55 +02:00
Carl-Robert Linnupuu
487f8a949f Fix llama telemetry service value 2023-11-06 22:55:22 +02:00
Carl-Robert
547cd889de
Fix right click context menu (#257) 2023-11-06 19:35:14 +02:00
Carl-Robert
45908e69df
#178 - Add support for running local LLMs via LLaMA C/C++ port (#249)
* Initial implementation of integrating llama.cpp to run LLaMA models locally

* Move submodule

* Copy llama submodule to bundle

* Support for downloading models from IDE

* Code cleanup

* Store port field

* Replace service selection radio group with dropdown

* Add quantization support + other fixes

* Add option to override host

* Fix override host handler

* Disable port field when override host enabled

* Design updates

* Fix llama settings configuration, design changes, clean up code

* Improve You.com coupon design

* Add new Phind model and help tooltip

* Fetch you.com subscription

* Add CodeBooga model, fix downloadable model selection

* Chat history support

* Code refactoring, minor bug fixes

* UI updates, several bug fixes, removed code llama python model

* Code cleanup, enable llama port only on macOS

* Change downloaded gguf models path

* Move some of the labels to codegpt bundle

* Minor fixes

* Remove ToRA model, add help texts

* Fix test

* Modify description
2023-11-03 12:00:24 +02:00
Carl-Robert
3f67be5f78
You.com service updates (#246)
* Free GPT4 for a month to try

* Free GPT4 for a month to try

* Better tooltip

* Replace toggle component with checkbox and other minor ui improvements

* Add UTM and userId params to You.com completion request

* Fix #145 - web serach results not being displayed despite the flag

---------

Co-authored-by: siilats <keith@siilats.com>
2023-10-26 02:13:44 +03:00
keith siilats
4519b2ade6
Make it clear that you.com is free in case people run out of OpenAI credits (#238)
* Make it clear that you.com is free in case people run out of OpenAI credits

* Clear quota exceeded flag on new api key, minor refactoring

---------

Co-authored-by: Carl-Robert Linnupuu <carlrobertoh@gmail.com>
2023-10-17 10:50:20 +03:00
Carl-Robert
21fa61d2af
Support you.com gpt-4 model (#233) 2023-10-12 11:18:37 +03:00
TautCony
0343842af9
set line wrap style to be wrapped at word boundaries (#230) 2023-10-10 23:07:21 +03:00
TautCony
99e6c5a733
fix memory leak in extensions (#229) 2023-10-10 12:03:29 +03:00
Carl-Robert
7dfe62b96d
Codebase refactoring (#226)
* Refactor codebase
2023-10-05 02:43:06 +03:00
keith siilats
4c8b8d4e4f
on quota exceeded suggest user switch to different LLM provider (#221)
* on quota exceeded suggest user switch to different LLM provider

* Improve insufficient quota handling, add more telemetry actions

---------

Co-authored-by: Carl-Robert Linnupuu <carlrobertoh@gmail.com>
2023-10-05 00:18:50 +03:00
Carl-Robert Linnupuu
a45646740e Rename md title 2023-10-05 00:13:02 +03:00
Carl-Robert Linnupuu
b4881be72a Add default value for destination text field 2023-10-03 00:33:54 +03:00
wangwangxf
8269ba371c
210 - Add diff function (#213)
* Add diff function

* modify writeSpace

* Remove unnecessary code

* Add telemetry for toolwindow editor actions

---------

Co-authored-by: wang <1625116638@qq.com>
Co-authored-by: Carl-Robert Linnupuu <carlrobertoh@gmail.com>
2023-10-02 11:24:09 +03:00
Carl-Robert
7ff48dc928
Ability to edit generated code (#220)
* Ability to edit generated code inside the chat toolwindow

* Improve icon behaviour

* Fix browseFolderListener automatic disposal by recreating the inputs on each action

* Replace label
2023-10-01 03:59:32 +03:00
Carl-Robert Linnupuu
d85606bfeb Merge branch 'master' of github.com:carlrobertoh/CodeGPT 2023-09-30 02:05:44 +03:00
Carl-Robert
e417ac8a03
Ability to create new files from codegpt toolwindow editor (#219) 2023-09-30 01:40:37 +03:00
Carl-Robert Linnupuu
e95b5ba175 Code refactoring 2023-09-29 11:48:31 +03:00
Carl-Robert Linnupuu
b35daaae88 Fix error logging and add more telemetry actions 2023-09-28 17:08:31 +03:00
Carl-Robert
f502e3b43c
194 - Proper use of project-level light service (#216) 2023-09-28 00:45:10 +03:00
keith siilats
8f9980fbf1
anymous telemetry based on redhat (#212)
* initial telemetry

* fixed segment bugs

* Move telemetry impl to submodule, add more actions

* Replace privacy policy link, minor refactoring

---------

Co-authored-by: Carl-Robert Linnupuu <carlrobertoh@gmail.com>
2023-09-27 18:44:01 +03:00
Carl-Robert
37af74ebdf
You API integration (#203)
* Ability to configure custom service

* Add example preset templates, rename module

* Custom service client impl

* Add YOU API integration

* Remove/ignore generated antlr classes

* Remove text completion models(deprecated)

* Remove unused code, fix settings state sync

* Display model name/icon in the tool window

* Update chat history UI

* Fix model/service sync

* Clear plugin state

* Fix minor bugs, add settings sync tests

* UI changes

* Separate model configuration

* Add support for overriding the completion path

* Update Find Bugs prompt
2023-09-14 14:52:18 +03:00
keith siilats
a860054360
Update EditorAction.java (#202)
add and output code with bugs fixed to the prompt
2023-09-13 17:53:47 +03:00
Carl-Robert Linnupuu
1f279cafc9 Fix configuring azure service 2023-08-29 09:31:44 +03:00
Carl-Robert
ef5fd5919f
Encapsulate settings (#180) 2023-08-27 18:16:08 +03:00
Carl-Robert
3c2c23b3ea
Move embeddings impl to a different module (#179)
* Move embeddings impl to a different module
* Disable plugin verifier for sub modules
2023-08-26 12:55:32 +03:00
Carl-Robert Linnupuu
bdc719b169 Remove generated grammar files 2023-08-25 16:41:13 +03:00
Carl-Robert Linnupuu
26a3e07360 Reopen plugin's source code (1.10.8 → 2.0.5) 2023-08-25 16:36:22 +03:00
Carl-Robert Linnupuu
97de54439d Replace change notes 2023-05-18 00:13:55 +01:00
Carl-Robert Linnupuu
0520d1ae41 Fix com.intellij.diagnostic.PluginException by providing label as action description (fixes #95) 2023-05-17 23:21:17 +01:00
Carl-Robert Linnupuu
2e6e0b78ae Remove model comments 2023-05-17 23:06:29 +01:00
Carl-Robert Linnupuu
0eba3a16af 1.10.8 - Ability to use custom server/models, support api key retrieval from env var (closes #90) 2023-05-17 22:59:50 +01:00
Carl-Robert Linnupuu
31fee06d1c 1.10.7 - Add keymap support for plugin actions (closes #63), support off-screen browser rendering 2023-05-04 23:08:31 +01:00
Carl-Robert Linnupuu
a514983ca3 1.10.6 - Add support for both Azure auth methods 2023-05-03 22:16:37 +01:00
Carl-Robert Linnupuu
3a854c9f46 Closes #93 2023-05-01 23:13:21 +01:00
Carl-Robert Linnupuu
c9565a4c7d Settings UI improvements 2023-05-01 23:09:47 +01:00
Carl-Robert Linnupuu
4ceca4e45e Add tests and build workflow, bump sinceVersion 2023-05-01 14:08:49 +01:00
Mirek
a7927eea56
Add Azure OpenAI Service support (#96)
* Add Azure OpenAI Service support

* Bump version number

* Bump openai-client dependency to 1.0.12

* Improve settings panel logic, bump openai-client

---------

Co-authored-by: Shalak <github.author@shalak.eu.org>
2023-05-01 14:00:12 +01:00
Carl-Robert Linnupuu
9acac891c0 1.10.4 - Add support to configure organization and display name, improve displaying error msgs, fix known issues 2023-04-22 10:41:13 +01:00