New tool: testgen

Generates unit tests and encourages model to auto-detect framework and testing style from existing sample (if available)
This commit is contained in:
Fahad
2025-06-14 15:41:47 +04:00
parent 7d33aafcab
commit 4086306c58
14 changed files with 1118 additions and 9 deletions

View File

@@ -2,7 +2,7 @@
Code Review tool - Comprehensive code analysis and review
This tool provides professional-grade code review capabilities using
Gemini's understanding of code patterns, best practices, and common issues.
the chosen model's understanding of code patterns, best practices, and common issues.
It can analyze individual files or entire codebases, providing actionable
feedback categorized by severity.
@@ -177,7 +177,7 @@ class CodeReviewTool(BaseTool):
request: The validated review request
Returns:
str: Complete prompt for the Gemini model
str: Complete prompt for the model
Raises:
ValueError: If the code exceeds token limits