File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,11 +19,11 @@ class customModel {
1919 async generateFileBasedOnFeatures (
2020 srs : string ,
2121 description : string ,
22- gitSummary : string
22+ gitSummary : string ,
2323 ) {
2424 const prompt = CodeGenerationForFeature . replace (
2525 "{srs_documentdetails}" ,
26- srs
26+ srs ,
2727 )
2828 . replace ( "{current_feature}" , description )
2929 . replace ( "{git_summary}" , gitSummary ) ;
@@ -41,7 +41,7 @@ class customModel {
4141 codefile ,
4242 gitSummary ,
4343 currentStatus ,
44- sdd
44+ sdd ,
4545 ) {
4646 let response = "" ;
4747 const prompt = CodeGenerationForFile . replace ( "{srs_documentdetails}" , srs )
@@ -134,11 +134,11 @@ class customModel {
134134 async generateCorrectnessInFileOnBuggyFeature (
135135 srs : string ,
136136 codefile : string ,
137- gitSummary : string
137+ gitSummary : string ,
138138 ) {
139139 const prompt = CodeGenerationForCorrection . replace (
140140 "{srs_documentdetails}" ,
141- srs
141+ srs ,
142142 )
143143 . replace ( "{current_code}" , codefile )
144144 . replace ( "{git_summary}" , gitSummary ) ;
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class GeminiKeyManager {
1717 isRateLimited : false ,
1818 rateLimitExpiry : null ,
1919 } ,
20- ] )
20+ ] ) ,
2121 ) ;
2222 }
2323
@@ -70,8 +70,6 @@ class GeminiKeyManager {
7070}
7171
7272// Initialize the GeminiKeyManager with API keys
73- const keyManager = new GeminiKeyManager ( [
74- process . env . GEMINI_KEY ,
75- ] ) ;
73+ const keyManager = new GeminiKeyManager ( [ process . env . GEMINI_KEY ] ) ;
7674
7775export default keyManager ;
You can’t perform that action at this time.
0 commit comments