mirror of
				https://github.com/freeedcom/ai-codereviewer.git
				synced 2025-10-31 22:20:53 +00:00 
			
		
		
		
	tweak prompt
This commit is contained in:
		
					parent
					
						
							
								82951185df
							
						
					
				
			
			
				commit
				
					
						64f567475d
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -92,7 +92,7 @@ function createPrompt(file: File, chunk: Chunk, prDetails: PRDetails): string { | |||
|   return `You are an expert Nextjs developer. Your task is to review pull requests. Instructions:
 | ||||
| - Provide the response in following JSON format:  {"reviews": [{"lineNumber":  <line_number>, "reviewComment": "<review comment>"}]} | ||||
| - Do not give positive comments or compliments. | ||||
| - Only comment about react and nextjs best practices. IMPORTANT: Ignore CSS. | ||||
| - Only comment about javascript code. IMPORTANT: Do not comment on CSS or inline styles. | ||||
| - Provide comments and suggestions ONLY if there is something to improve, otherwise "reviews" should be an empty array. | ||||
| - Write the comment in GitHub Markdown format. | ||||
| - Use the given description only for the overall context and only comment the code. | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue