Skip to content

Commit 81919db

Browse files
committed
Merge remote-tracking branch 'origin/master' into develop
2 parents 7f58ff9 + 695f165 commit 81919db

File tree

181 files changed

+8719
-2765
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

181 files changed

+8719
-2765
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
uses: actions/checkout@v4
1717

1818
- name: Set up JDK 11
19-
uses: actions/setup-java@v3
19+
uses: actions/setup-java@v4
2020
with:
2121
java-version: '11'
2222
distribution: 'temurin'
@@ -29,7 +29,7 @@ jobs:
2929

3030
- name: Collect Tests Result
3131
if: ${{ failure() }}
32-
uses: actions/upload-artifact@v3
32+
uses: actions/upload-artifact@v4
3333
with:
3434
name: tests-result
3535
path: ${{ github.workspace }}/build/reports/tests
@@ -49,7 +49,7 @@ jobs:
4949
uses: actions/checkout@v4
5050

5151
- name: Set up JDK 11
52-
uses: actions/setup-java@v3
52+
uses: actions/setup-java@v4
5353
with:
5454
java-version: '11'
5555
distribution: 'temurin'
@@ -59,7 +59,7 @@ jobs:
5959

6060
- name: Collect Plugin Verifier Result
6161
if: ${{ always() }}
62-
uses: actions/upload-artifact@v3
62+
uses: actions/upload-artifact@v4
6363
with:
6464
name: pluginVerifier-result
6565
path: ${{ github.workspace }}/build/reports/pluginVerifier

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "llama.cpp"]
2+
path = src/main/cpp/llama.cpp
3+
url = https://github.com/ggerganov/llama.cpp

CHANGELOG.md

Lines changed: 163 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,154 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [2.2.12] - 2023-12-21
10+
11+
### Added
12+
13+
- Support for extended request parameters for llama.cpp
14+
15+
## [2.2.11] - 2023-12-14
16+
17+
### Added
18+
19+
- Support for chatting with multiple files
20+
- Support for generating commit messages and method names with Azure service
21+
22+
## [2.2.10] - 2023-12-12
23+
24+
### Added
25+
26+
- Configurable commit-message system prompt
27+
28+
### Fixed
29+
30+
- Redundant chat tab creation on provider/model change
31+
- Azure bas host and path overriding
32+
33+
## [2.2.9] - 2023-12-04
34+
35+
### Added
36+
37+
- IDE notification on new plugin versions
38+
39+
### Fixed
40+
41+
- LLaMA settings state on server failure
42+
43+
### Improved
44+
45+
- LLaMA server logging
46+
47+
## [2.2.8] - 2023-12-01
48+
49+
### Fixed
50+
51+
- UI concurrency issues (run completion events on EDT)
52+
53+
## [2.2.7] - 2023-11-30
54+
55+
### Fixed
56+
57+
- LLaMA server boot up when additional params are not set
58+
59+
## [2.2.6] - 2023-11-27
60+
61+
### Added
62+
63+
- Support for automatic code formatting (#262)
64+
- Support for additional command-line params for the llama server startup process
65+
- Support for changing between different provides/models in the chat window (#227)
66+
- Deepseek coder instruct models
67+
68+
### Fixed
69+
70+
- Git commit message generation based on the actual user selected/checked files (#291)
71+
72+
### Improved
73+
74+
- Toolwindow Chat UI
75+
76+
## [2.2.5] - 2023-11-23
77+
78+
### Added
79+
80+
- Option to set the number of threads for local LLM models
81+
82+
### Fixed
83+
84+
- Tool window chat editor enabled/disabled logic
85+
- Tool window text pane caret visibility
86+
- Editor actions for `createNewChatOnEachAction` state
87+
- Plugin from crashing when the LLaMA server process is stuck
88+
89+
## [2.2.4] - 2023-11-20
90+
91+
### Added
92+
93+
- Support for git commit message generation
94+
- Support for method/function name lookup generation
95+
96+
### Fixed
97+
98+
- Llama client read/connect timeout configuration
99+
100+
## [2.2.3] - 2023-11-15
101+
102+
### Added
103+
104+
- Expand/Collapse logic for tool window editors
105+
- Interactive total token count label
106+
107+
### Removed
108+
109+
- Azure model selection (redundant field)
110+
111+
## [2.2.2] - 2023-11-07
112+
113+
### Added
114+
115+
- OpenAI GPT-4 Turbo and the latest GPT-3.5 models
116+
117+
### Fixed
118+
119+
- Credential validation when using llama service
120+
121+
## [2.2.1] - 2023-11-06
122+
123+
### Fixed
124+
125+
- Right click context menu (#251)
126+
- Azure path (#232)
127+
- Llama telemetry service value
128+
- Include all feature builds by removing the value (#242)
129+
130+
## [2.2.0] - 2023-11-03
131+
132+
### Added
133+
134+
- Support for running local LLMs via LLaMA C/C++ port (#249)
135+
- Support for fetching You.com subscription
136+
137+
### Fixed
138+
139+
- Project build for Windows ARM64
140+
141+
### Improved
142+
143+
- You.com coupon design
144+
- Overall UI design
145+
146+
## [2.1.7] - 2023-10-26
147+
148+
### Replaced
149+
150+
- You.com GPT-4 toggle component with checkbox
151+
- Telemetry segment service with rudderstack
152+
153+
### Fixed
154+
155+
- You.com web search not being displayed regardless of the flag
156+
9157
## [2.1.6] - 2023-10-12
10158

11159
### Added
@@ -181,7 +329,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
181329

182330
- `OPENAI_API_KEY` persistence, key is saved in the OS password safe from now on
183331

184-
[Unreleased]: https://github.com/carlrobertoh/CodeGPT/compare/v2.1.6...HEAD
332+
[Unreleased]: https://github.com/carlrobertoh/CodeGPT/compare/v2.2.12...HEAD
333+
[2.2.12]: https://github.com/carlrobertoh/CodeGPT/compare/v2.2.11...v2.2.12
334+
[2.2.11]: https://github.com/carlrobertoh/CodeGPT/compare/v2.2.10...v2.2.11
335+
[2.2.10]: https://github.com/carlrobertoh/CodeGPT/compare/v2.2.9...v2.2.10
336+
[2.2.9]: https://github.com/carlrobertoh/CodeGPT/compare/v2.2.8...v2.2.9
337+
[2.2.8]: https://github.com/carlrobertoh/CodeGPT/compare/v2.2.7...v2.2.8
338+
[2.2.7]: https://github.com/carlrobertoh/CodeGPT/compare/v2.2.6...v2.2.7
339+
[2.2.6]: https://github.com/carlrobertoh/CodeGPT/compare/v2.2.5...v2.2.6
340+
[2.2.5]: https://github.com/carlrobertoh/CodeGPT/compare/v2.2.4...v2.2.5
341+
[2.2.4]: https://github.com/carlrobertoh/CodeGPT/compare/v2.2.3...v2.2.4
342+
[2.2.3]: https://github.com/carlrobertoh/CodeGPT/compare/v2.2.2...v2.2.3
343+
[2.2.2]: https://github.com/carlrobertoh/CodeGPT/compare/v2.2.1...v2.2.2
344+
[2.2.1]: https://github.com/carlrobertoh/CodeGPT/compare/v2.2.0...v2.2.1
345+
[2.2.0]: https://github.com/carlrobertoh/CodeGPT/compare/v2.1.7...v2.2.0
346+
[2.1.7]: https://github.com/carlrobertoh/CodeGPT/compare/v2.1.6...v2.1.7
185347
[2.1.6]: https://github.com/carlrobertoh/CodeGPT/compare/v2.1.5...v2.1.6
186348
[2.1.5]: https://github.com/carlrobertoh/CodeGPT/compare/v2.1.4...v2.1.5
187349
[2.1.4]: https://github.com/carlrobertoh/CodeGPT/compare/v2.1.3...v2.1.4

DESCRIPTION.md

Lines changed: 60 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,95 @@
11
<!-- Plugin description -->
22

3-
**ChatGPT as your copilot to level up your developer experience.**
3+
## Introducing CodeGPT: Your Free, Open-Source AI Copilot for Coding
44

5-
This is the perfect assistant for any programmer who wants to improve their coding skills
6-
and make more efficient use of the time.
5+
CodeGPT is your go-to AI assistant, designed to enhance your coding skills and optimize your programming time.
6+
Access state-of-the-art LLMs like GPT-4, Code LLama and more, all for free.
77

8-
## Getting Started
8+
## Quick Start Guide
99

10-
### Prerequisites
10+
1. **Download the Plugin**
1111

12-
In order to use the extension, you need to have the API key configured. You can find the API key in
13-
your [User settings](https://platform.openai.com/account/api-keys).
12+
2. **Choose Your Preferred Service**
1413

15-
### API Key Configuration
14+
a) **OpenAI** - Requires authentication via OpenAI API key.
1615

17-
After the plugin has been successfully installed, the API key needs to be configured.
16+
b) **Azure** - Requires authentication via Active Directory or API key.
1817

19-
You can configure the key by going to the plugin's settings via the **File | Settings/Preferences | Tools | CodeGPT**. On the settings panel simply
20-
click
21-
on the API key field, paste the key obtained from the OpenAI website and click **Apply/OK**.
18+
c) **You.com** - A free, web-connected service with an optional upgrade to You⚡Pro for enhanced features.
19+
20+
d) **LLaMA C/C++ Port** - Run Code Llama, WizardCoder, Deepseek Coder, and other state-of-the-art models locally for free.
21+
22+
3. **Start Using the Features**
23+
24+
### OpenAI
25+
26+
After successful installation, configure your API key. Navigate to the plugin's settings via **File | Settings/Preferences | Tools | CodeGPT**. Paste your OpenAI API key into the field and click `Apply/OK`.
27+
28+
### Azure OpenAI
29+
30+
For Azure OpenAI services, you'll need to input three additional fields:
31+
32+
- **Resource name**: The name of your Azure OpenAI Cognitive Services.
33+
- **Deployment ID**: The name of your Deployment.
34+
- **API version**: The most recent non-preview version.
35+
36+
Also, input one of the two provided API keys.
37+
38+
### You.com (Free)
39+
40+
**You**.com is a search engine that summarizes the best parts of the internet for **you**, with private ads and with privacy options.
41+
42+
**You⚡Pro**
43+
44+
Use the **CodeGPT** coupon for a free month of unlimited GPT-4 usage.
45+
46+
Check out the full [feature list](https://about.you.com/hc/youpro/what-features-are-included-in-youpro/) for more details.
47+
48+
### LLaMA C/C++ Port (Free, Local)
49+
50+
> **Note**: This feature is currently supported only on Linux and MacOS.
51+
52+
The main goal of `llama.cpp` is to run the LLaMA model using 4-bit integer quantization on a MacBook.
53+
54+
#### Getting Started
55+
56+
1. **Select the Model**: Depending on your hardware capabilities, choose the appropriate model from the provided list. Once selected, click on the `Download Model` link. A progress bar will appear, indicating the download process.
57+
58+
2. **Start the Server**: After successfully downloading the model, initiate the server by clicking on the `Start Server` button. A status message will be displayed, indicating that the server is starting up.
59+
60+
3. **Apply Settings**: With the server running, you can now apply the settings to start using the features. Click on the `Apply/OK` button to save your settings and start using the application.
61+
62+
<img alt="animated" style="max-width: 100%; width: 600px;" src="https://github.com/carlrobertoh/CodeGPT-docs/blob/main/images/llama-settings.png?raw=true" />
63+
64+
> **Note**: If you're already running a server and wish to configure the plugin against that, then simply select the port and click `Apply/OK`.
2265
2366
## Features
2467

2568
The plugin provides several key features, such as:
2669

27-
### Ask Anything
70+
### Chat with AI
2871

2972
Ask anything you'd like.
3073

31-
<img alt="animated" style="max-width: 100%; width: 800px;" src="https://github.com/carlrobertoh/CodeGPT/raw/master/docs/assets/gif/ask-anything.gif" />
74+
<img alt="animated" style="max-width: 100%; width: 800px;" src="https://github.com/carlrobertoh/CodeGPT-docs/blob/main/gif/ask-anything.gif?raw=true" />
3275

3376
### Select and Ask
3477

3578
Ask anything related to your selected code.
3679

37-
<img alt="animated" style="max-width: 100%; width: 800px;" src="https://github.com/carlrobertoh/CodeGPT/raw/master/docs/assets/gif/custom-prompt.gif" />
80+
<img alt="animated" style="max-width: 100%; width: 800px;" src="https://github.com/carlrobertoh/CodeGPT-docs/blob/main/gif/custom-prompt.gif?raw=true" />
3881

3982
### Replace Generated Code
4083

4184
Instantly replace a selected code block in the editor with suggested code generated by AI.
4285

43-
<img alt="animated" style="max-width: 100%; width: 800px;" src="https://github.com/carlrobertoh/CodeGPT/raw/master/docs/assets/gif/replace-code.gif" />
86+
<img alt="animated" style="max-width: 100%; width: 800px;" src="https://github.com/carlrobertoh/CodeGPT-docs/blob/main/gif/replace-code.gif?raw=true" />
4487

4588
### Regenerate Response
4689

4790
Expected a different answer? Re-generate any response of your choosing.
4891

49-
<img alt="animated" style="max-width: 100%; width: 800px;" src="https://github.com/carlrobertoh/CodeGPT/raw/master/docs/assets/gif/regenerate.gif" />
92+
<img alt="animated" style="max-width: 100%; width: 800px;" src="https://github.com/carlrobertoh/CodeGPT-docs/blob/main/gif/regenerate.gif?raw=true" />
5093

5194
## Other features
5295

0 commit comments

Comments
 (0)