Commit graph

153 commits

Author SHA1 Message Date
Aliet Expósito García
9d83107dd5
Add support for some extended parameters of llama.cpp(top_k, top_p, min_p, and repeat_penalty) (#311)
* Add support for some extended parameters of llama.cpp(top_k, top_p, min_p, and repeat_penalty)

Added 'top_k,' 'top_p,' 'min_p,' and 'repeat_penalty' fields to the llama.cpp request configuration. The default values for these fields match the defaults of llama.cpp. If left untouched, they do not affect the model's response to the request.

* Bump llm-client

---------

Co-authored-by: Carl-Robert Linnupuu <carlrobertoh@gmail.com>
2023-12-18 11:53:23 +02:00
Carl-Robert Linnupuu
06895364ba feat: throw an error when too many files selected (temp) 2023-12-14 10:17:28 +02:00
Carl-Robert Linnupuu
6824fbeb3b feat: replace editor pane with action links 2023-12-13 16:52:35 +02:00
Carl-Robert Linnupuu
ee4d1e8da6 feat: improve multi-file selection dialog UI 2023-12-13 14:52:59 +02:00
Carl-Robert Linnupuu
56c69f5eeb feat: allow commit message and method name generation with Azure service 2023-12-12 22:46:16 +02:00
Carl-Robert
f4be25bdac
Feature: Support chatting with multiple files (#306)
* Initial implementation

* Refactor UI related classes and organize imports

* Display selected files notification, include the files in the prompt

* feat: store referenced file paths in the messate state

* feat: add selected files accordion

* feat: update UI

* feat: improve file selection

* feat: support prompt template configuration

* fix: token calculation for virtualfile checkbox tree

* refactor: clean up

* refactor: move labels/descriptions to bundle
2023-12-12 22:30:39 +02:00
René
c214b59f55
adds: configuration for the commit-message system prompt (#304)
* adds: configuration for the commit-message system prompt

this will remove the default file and move it to the code to be overwritten if the user chooses to modify the prompt.

* fix: checkstyle

---------

Co-authored-by: Carl-Robert Linnupuu <carlrobertoh@gmail.com>
2023-12-09 14:48:10 +02:00
Carl-Robert Linnupuu
c36d4dd566 fix: redundant chat tab creation on provider change 2023-12-08 03:05:01 +02:00
Carl-Robert Linnupuu
cfe89fccb7 refactor: remove you.com coupon 2023-12-08 02:32:49 +02:00
Carl-Robert Linnupuu
ffb8299571 fix: azure host and path overriding 2023-12-08 01:03:41 +02:00
Carl-Robert Linnupuu
425b0cd58b refactor: improve llm-client code modularity 2023-12-07 21:48:12 +02:00
Carl-Robert Linnupuu
06ad159adf fix: JetBrains internal API usage warnings 2023-12-04 21:56:51 +02:00
Carl-Robert Linnupuu
46b88a4952 fix: settings state on server failure 2023-12-03 18:43:20 +02:00
Carl-Robert Linnupuu
0e61bee0f8 feat: improve llama server logging 2023-12-03 18:10:39 +02:00
Carl-Robert Linnupuu
1392775940 feat: display notification on plugin updates 2023-12-02 01:14:37 +02:00
Carl-Robert Linnupuu
dc2cc3c5a1 fix: UI concurrency issues (run completion events on EDT) 2023-12-01 00:32:52 +02:00
Viktor
92dbbb4a4d
Local LLM: Added empty check for Additional parameters field (#295)
Co-authored-by: Viktor <viktor.hoshyi@gg4l.com>
2023-11-28 20:15:22 +02:00
Carl-Robert
ae7f5d17db
262 - Support auto code formatting (#292) 2023-11-27 01:24:02 +02:00
Carl-Robert
2372eec3cf
285 - Include actual user selected files in the diff (#291) 2023-11-27 00:28:39 +02:00
Carl-Robert Linnupuu
8d4189c503 Minor clean up 2023-11-26 22:03:49 +02:00
Carl-Robert Linnupuu
01963e2faa Support additional command-line params for the server startup process 2023-11-26 13:21:02 +02:00
Carl-Robert
1df20ccb86
Update toolwindow UI (#290) 2023-11-26 10:52:47 +02:00
Carl-Robert Linnupuu
3797126de4 Add deepseek coder instruct models (1-33B) 2023-11-23 17:22:48 +02:00
Viktor
1acb950c33
Local LLM: Use OSProcessHandler.Silent intead of OSProcessHandler to prevent server process killing (#287)
Co-authored-by: Viktor <viktor.hoshyi@gg4l.com>
2023-11-23 00:10:33 +02:00
Carl-Robert Linnupuu
ac39a863d1 Fix chat response JTextPane caret visibility 2023-11-22 02:10:48 +02:00
Carl-Robert
2317b54d56
272 - Fix editor actions when createNewChatOnEachAction cfg is turned on (#283) 2023-11-22 00:22:36 +02:00
Carl-Robert Linnupuu
ecf6ac02ed Disable tool window chat editor when initially displayed 2023-11-21 23:09:31 +02:00
Carl-Robert Linnupuu
53bdbcd4f5 Remove Quartz Scheduler, You.com model change topic, theme utils, and include other basic refactoring 2023-11-21 22:47:09 +02:00
Viktor
73870cca40
Added option to set the number of threads for local LLM models (#282)
* Added option to set the number of threads for local LLM models

* Refactoring

---------

Co-authored-by: Viktor <viktor.hoshyi@gg4l.com>
2023-11-21 00:36:19 +02:00
Carl-Robert Linnupuu
85eafadb47 Replace label 2023-11-20 15:47:50 +02:00
Carl-Robert
5c8a7c0e2b
Include default parameters for llama client (#281) 2023-11-20 00:07:31 +02:00
Carl-Robert
845c7b4cee
Support method name lookup generation (#280) 2023-11-19 22:56:12 +02:00
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