Commit Graph

35 Commits

Author SHA1 Message Date
Ville Saukkonen
5c13a26204 package and update the model used, remove unused code 2023-12-02 23:08:33 +02:00
Ville Saukkonen
80ca662b5f support the latest gpt 4 and json mode 2023-12-02 23:08:33 +02:00
Ville Saukkonen
0939fc4e8d
Merge pull request #14 from lfsevergnini/fix/access-diff-directly
fix: access diff directly to enable support to private repositories
2023-07-31 18:34:21 +03:00
L.F. Severgnini
110dbf9095
fix: access commit .diff directly 2023-07-12 18:15:40 -03:00
L.F. Severgnini
838fc48abe
add 'OPENAI_API_MODEL' parameter 2023-07-07 17:36:11 -03:00
Ville Saukkonen
a2b67879fe improve the prompt per reviews suggestion 2023-04-23 23:08:51 +03:00
Ville Saukkonen
6176ca5693 try to reduce amount of comment suggestions 2023-04-23 23:06:38 +03:00
Ville Saukkonen
cc415382f7 remove unnecessary logging 2023-04-22 18:06:45 +03:00
Ville Saukkonen
6454621f44 try to use event data instead 2023-04-22 18:02:46 +03:00
Ville Saukkonen
29cd406230 print event path 2023-04-22 17:59:54 +03:00
Ville Saukkonen
97bdebd585 log more 2023-04-22 17:53:56 +03:00
Ville Saukkonen
a6762eb223 restore calling the main 2023-04-22 17:50:14 +03:00
Ville Saukkonen
dd255bf5d5 log the diff 2023-04-22 17:48:41 +03:00
Ville Saukkonen
d60ebfdf3c only review changes between pushes 2023-04-22 17:42:09 +03:00
Ville Saukkonen
3413a8e8a0 try to prevent suggesting to comment the code 2023-04-22 17:12:43 +03:00
Ville Saukkonen
dbf427f89f attempt to fix the malformed request 2023-04-22 17:08:29 +03:00
Ville Saukkonen
903cfb745e try to make it not to ask commenting the code 2023-04-22 16:56:28 +03:00
Ville Saukkonen
0f627714f1 review changed files only 2023-04-22 16:47:51 +03:00
Ville Saukkonen
32f7a8317c
Merge pull request #9 from freeedcom/ignore-deleted-files
ignore deleted files
2023-04-02 17:58:57 +03:00
Ville Saukkonen
1e217661a4 ignore deleted files 2023-04-02 17:57:01 +03:00
Ville Saukkonen
8f38d09f7d try to make prompt for not suggesting commenting more clear 2023-03-30 15:50:42 +03:00
Ville Saukkonen
08e3201b55 simplify ternary 2023-03-28 11:49:16 +03:00
Ville Saukkonen
f67f5f0d41 try to make it refrain from suggesting commenting 2023-03-28 11:46:57 +03:00
Ville Saukkonen
7b2312e5ab - attempt to improve line number commenting
- try to rephrase to be less positive
2023-03-28 11:35:20 +03:00
Ville Saukkonen
27939a4b16 add line number calculation instruction 2023-03-28 01:52:58 +03:00
Ville Saukkonen
e73abe7ded fix array pushing 2023-03-28 01:52:56 +03:00
Ville Saukkonen
bcec1128c8 return empty array for parsing 2023-03-28 01:52:44 +03:00
Ville Saukkonen
626621db03 give instructions in the beginning, ask the AI to return JSON 2023-03-28 01:52:10 +03:00
Ville Saukkonen
30597b305c remove duplicate deletion and addition signs 2023-03-28 01:50:33 +03:00
Ville Saukkonen
6293b88dcd use relaxed quotes 2023-03-28 01:50:33 +03:00
Ville Saukkonen
dfff4cc30c comment on line numbers and avoid giving positive comments 2023-03-23 19:16:20 +02:00
Ville Saukkonen
6fd12f15a2 use PR title to increase the AI context awareness 2023-03-23 01:05:59 +02:00
Ville Saukkonen
f80c0fad0c pass pr description for the context 2023-03-23 00:58:11 +02:00
Ville Saukkonen
8995085d53 improve the prompt silghtly 2023-03-23 00:42:28 +02:00
Ville Saukkonen
b6f3653286 initial commit 2023-03-22 23:16:13 +02:00