Update generation system with modern prompts and Gemini 2.5 Flash

- Upgrade to gemini-2.5-flash model for better output quality
- Add date context to prompts (December 2025) for current best practices
- Implement Exa cache system to avoid redundant API calls
- Add --refresh-exa flag to bypass cache when needed
- Restructure prompts with date at end for Gemini prompt caching
- Enhance system prompt to emphasize modern patterns
- Switch from JSON mode to direct MDC format generation
- Add loguru dependency for better logging
- Remove requirements.txt in favor of uv
This commit is contained in:
sanjeed5
2025-12-17 21:12:15 +05:30
parent 9983c8b40d
commit 5cbc31aee9
8 changed files with 2818 additions and 2968 deletions
+7
View File
@@ -18,6 +18,7 @@ dependencies = [
"pyyaml>=6.0.0",
"build>=1.2.2.post1",
"twine>=6.1.0",
"loguru>=0.7.3",
]
[build-system]
@@ -26,3 +27,9 @@ build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src"]
[dependency-groups]
dev = [
"pytest>=8.3.5",
"pytest-mock>=3.14.0",
]