Commit Graph

67 Commits

Author SHA1 Message Date
ncoop57
1b1edf6ccb Remove dependency on proposal APIs. Fixes #34, Fixes 14, and Supersedes #35 2023-07-01 14:17:58 -04:00
Nathan Cooper
5c1ab1e704
Merge pull request #29 from kingstut/add-fauxpilot
Add option to use Faux Pilot API
2022-12-16 22:46:25 -05:00
ncoop57
e092d6aef9 Fix a few bugs 2022-12-16 22:44:15 -05:00
Stuti R
69f39b14ad Add option to use Faux Pilot API
Added fetchCodeCompletionTextsFaux that fetches response using openAI API to the FauxPilot Server. This can be used by setting useFauxPilot to true in the config.
2022-11-24 12:11:42 -06:00
Nathan Cooper
6ea944221a
Merge pull request #28 from reshinthadithyan/fix-use-gpu
Fix `use_gpu` bug as reported in  https://github.com/CodedotAl/code-clippy-vscode/issues/27
2022-11-19 12:57:31 -05:00
Reshinth Adithyan
7806d533d5 Adding tests 2022-11-19 16:35:48 +05:30
Reshinth Adithyan
4b1315db04 Fix use-gpu 2022-11-19 16:02:15 +05:30
Nathan Cooper
ac79fbf246
Merge pull request #21 from arcticoder/feature/install-as-extension
package.json, README.md
2022-09-05 22:14:50 -04:00
ncoop57
5d095f6d33 Update readme with note about node version 2022-09-05 22:14:32 -04:00
ncoop57
09319fb7c9 Merge branch 'master' into feature/install-as-extension 2022-09-05 21:53:13 -04:00
Nathan Cooper
86f49aae8f
Merge pull request #23 from ncoop57/normal-vscode
Used updated VSCode Inline Suggestion API
2022-09-05 21:38:22 -04:00
ncoop57
d43f446a7a Update README with no need to use VSCode Insider 2022-09-05 21:32:50 -04:00
ncoop57
53c2cb1306 Merge branch 'master' into normal-vscode 2022-09-05 21:25:47 -04:00
Nathan Cooper
cda6f916b3
Merge pull request #1 from aramix/readme-fixes
fixes links in the readme file
2022-09-05 21:23:56 -04:00
ncoop57
3446959a31 Update extension to use stable inline completion api 2022-09-05 21:18:58 -04:00
Nathan Cooper
db698d112e
Merge pull request #20 from arcticoder/bugfix/18-inline-completion-item
#18 extension.ts
2022-08-31 17:01:32 -04:00
arcticoder
7371379458 package.json, README.md
- Installation option and instructions for installing as packaged extension
2022-08-27 19:02:39 -07:00
arcticoder
89e408936f #18 extension.ts
Fix change to https://code.visualstudio.com/api/references/vscode-api#InlineCompletionItem, insertText renamed
2022-08-27 17:52:36 -07:00
aramix
ef100f559f fixes links in the readme file 2022-08-24 12:36:12 +04:00
Nathan Cooper
bcdcb107b3
Update link to get HF API Token 2022-01-22 09:53:13 -05:00
Nathan Cooper
2c45c611ac fix url link in installation steps 2022-01-07 13:09:30 -05:00
Nathan Cooper
f494e4b367
Merge pull request #6 from DineshReddyK/master
Fix compilation issues
2021-12-24 08:48:28 -05:00
Dinesh Reddy K
13e27c8911
Use suggested model
using flax-community/gpt-neo-125M-code-clippy-dedup-2048 as they are tuned for this project
2021-12-20 19:42:59 +05:30
Dinesh Reddy K
63a585638c Use correct demo gif 2021-12-20 09:56:35 +02:00
Dinesh Reddy K
29822fc3cb Update *ignore files 2021-12-20 09:50:03 +02:00
Dinesh Reddy K
7c603e385b Fix compilation issues
With strict mode true, compilation fails with error
as err object type is unknonw.
added check before accessing err object

src/extension.ts:53:37 - error TS2571: Object is of type 'unknown'.

53      vscode.window.showErrorMessage(err.toString());
2021-12-20 09:25:12 +02:00
Nathan Cooper
ab6e313a7e
Merge pull request #4 from DineshReddyK/master
Fix runtime issues
2021-12-18 16:53:04 -05:00
Nathan Cooper
de604b4a7e
Merge pull request #3 from DineshReddyK/patch-1
Update extension.ts to register correct command
2021-12-18 16:52:36 -05:00
Dinesh Reddy K
177ae1f14b
Update default model
`flax-community/gpt-neo-125M-code-clippy-dedup-filtered-no-resize-2048bs` - doesn't exist anymore.
2021-12-16 20:41:46 +05:30
Dinesh Reddy K
8b48d171ba
Merge pull request #1 from DineshReddyK/inlinecomp
Create vscode.proposed.inlineCompletions.d.ts
2021-12-16 19:51:31 +05:30
Dinesh Reddy K
21e6252d93
Fix runtime error
enableProposedApi is deprecated. using enabledApiProposals instead.
2021-12-16 19:47:28 +05:30
Dinesh Reddy K
6acf662685
Create vscode.proposed.inlineCompletions.d.ts
inlinecompletions file is needed for it work
2021-12-16 19:44:46 +05:30
Dinesh Reddy K
fd498a2c94
Fix logo
packaging fails with logo error as follows -
 ERROR  The specified icon 'extension/https://raw.githubusercontent.com/ncoop57/gpt-code-clippy/camera-ready/code_clippy_logo.jpg' wasn't found in the extension.

using local logo
2021-12-16 19:25:22 +05:30
Dinesh Reddy K
30709d4ed7
Update extension.ts
Register for correct command
2021-12-16 18:55:48 +05:30
ncoop57
f6c36b12ad Tweak generation parameters with top_p sampling to generate better code 2021-07-19 00:33:08 -04:00
ncoop57
c3ae14d7b7 Update README 2021-07-19 00:20:04 -04:00
ncoop57
bc0b30adcf Fix typo and add discussion of how to modify model used 2021-07-19 00:18:14 -04:00
ncoop57
8e39404b96 Add some sparkle 2021-07-18 20:17:37 -04:00
ncoop57
dad9f82899 Add logo and add initial content for readme 2021-07-18 20:05:21 -04:00
ncoop57
a71e406db4 Add aprompting user for API key if incorrect and ability to switch model used for generation 2021-07-18 15:09:38 -04:00
ncoop57
d1becea6d2 Tweak generation process to be more probabilistic and add generation of multiple completions. Also added ability to specify to use GPU if your API supports it 2021-07-18 10:35:41 -04:00
ncoop57
0af405a313 Tweak timeout param and add additional trigger characters 2021-07-17 17:44:50 -04:00
ncoop57
6bead2dfbc Clean up some debug logs, add additional code generation triggers, and add time limit to inference API call 2021-07-17 17:22:04 -04:00
ncoop57
f0d714ebde Add config for storing HF API key and fix issue with being unable to accept the inline suggestion 2021-07-17 16:47:55 -04:00
ncoop57
d131055b56 Add ability to generate inline completion suggestions from our training model 2021-07-17 15:46:17 -04:00
Hieu C. Nguyen
d8966b3411 Update README.md 2021-07-17 14:22:28 +07:00
Kekschen
86c56b1cf7
Merge pull request #5 from hieunc229/beta
Adapted to VS Code Insiders Version 1.59
2021-07-14 22:39:39 +02:00
Kekschen
511d89491b Update README.md 2021-07-14 22:37:08 +02:00
Kekschen
cc5c2d876d Adapted to VS Code Insiders V.1.59
Resolved Issue #4
2021-07-14 22:30:41 +02:00
Kekschen
10778b65d9
Added License File
Added License like specified in package.json under "license": "MIT"
2021-07-14 21:16:57 +02:00