Commit graph

52 commits

Author SHA1 Message Date
Jimmy Royer
e7ec594512 Better comments and removed superfluous logic. 2024-09-20 17:32:54 -04:00
Jimmy Royer
1565f8f40e Added more logging and validation. [review] 2024-09-19 17:08:31 -04:00
Jimmy Royer
4677946e97 Well yeah, let's break it down [review] 2024-09-18 17:52:37 -04:00
Jimmy Royer
cfdf159e52 Fixed eventName usage [review] 2024-09-18 17:44:47 -04:00
Jimmy Royer
7f6dd34aa7 Finetuning logging msg [review] 2024-09-18 17:42:03 -04:00
Jimmy Royer
bbd546b889 Fixed incorrect parameters passing 2024-09-18 17:38:04 -04:00
Jimmy Royer
e8074efc8b Support push trigger + plenty refactoring [review] 2024-09-18 17:20:23 -04:00
Jimmy Royer
65cf847966 Add params validation [review] 2024-09-18 12:35:40 -04:00
Jimmy Royer
b78f41aa62 Adding debugging around the github event data [review] 2024-09-18 12:20:39 -04:00
Jimmy Royer
e987cad08a Added an additional condition for new event [review] 2024-09-18 12:09:07 -04:00
Jimmy Royer
88b167a247 Added tracing for github event data [review] 2024-09-18 11:57:01 -04:00
Jimmy Royer
8ded98d88f Added debugging information for comments that are excluded from PRs actual code 2024-09-17 14:55:59 -04:00
Jimmy Royer
1abe8317f1 Verify if an AI comment is part of the actual PR changes prior to submit it 2024-09-16 18:21:57 -04:00
Jimmy Royer
9cdfb06cab Added the CSV extraction script to get comments and classify accordingly 2024-09-10 13:43:09 -04:00
Jimmy Royer
567977e102 Fixed typo 2024-09-09 13:45:42 -04:00
Jimmy Royer
49d90aa697 Added the include pattern matching feature to the gh action 2024-09-05 17:57:16 -04:00
Jimmy Royer
7a83d05aaf Re-enable github comments instead of logging 2024-09-05 14:19:42 -04:00
Jimmy Royer
1389e1211e Formatting 2024-09-04 17:15:58 -04:00
Jimmy Royer
ea35bd1354 Fixed issues around the Azure OpenAI API in the code reviewer 2024-09-04 17:14:09 -04:00
Jimmy Royer
cb0db573b8 Added OPEN_AI_BASE_URL variable to plug into the openai library 2024-09-01 18:27:52 -04:00
Ville Saukkonen
5c13a26204 package and update the model used, remove unused code 2023-12-02 23:08:33 +02:00
Felix Anhalt
d158a6fdbc
Fix/connection (#1)
* stuff

* stuff
2023-11-27 14:15:48 +01:00
Ville Saukkonen
d585461692 repackage 2023-07-31 18:35:27 +03:00
L.F. Severgnini
ee328499f4
chore: package stuff :| 2023-07-12 18:19:31 -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
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
7a06f49c68 generate dist 2023-03-28 01:53:27 +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
8308ada88f update dist 2023-03-23 01:19:35 +02:00