diff options
| author | Paul Buetow <paul@buetow.org> | 2025-07-18 19:52:52 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-07-18 19:52:52 +0300 |
| commit | 85900734f1ab76b1079d935e046b6edcbfab84ae (patch) | |
| tree | f34c6a363d9da4377b67301b902fde90ca371f7d /testdata | |
| parent | e1b3ba69499547424502cc7e4dacf1e10d5efde9 (diff) | |
feat: limit image generation prompts to 1000 characters
- Added automatic prompt truncation when exceeding 1000 chars
- Progressively removes less important parts: IMPORTANT notice first, then truncates scene
- Also applies 1000 char limit to custom prompts
- Added character count to prompt logging for visibility
- Ensures compatibility with API limits while maintaining prompt effectiveness
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'testdata')
0 files changed, 0 insertions, 0 deletions
