Files
slahiriandClaude Opus 4.5 5bfd23187a feat: add caching to PromptGenerator based on seed and inputs
- Add class-level cache dictionary to store prompt/caption results
- Add _build_cache_key() method that hashes image data + all parameters
- Use sampled pixels for efficient image hashing of large images
- Return cached results when seed and all inputs match
- Print cache hit/miss messages for debugging

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 10:39:04 +05:30
..