mirror of
https://github.com/fsecada01/Pygentic-AI.git
synced 2026-05-12 20:25:04 +00:00
- Generate descriptive filenames: swot-{company}-vs-{competitor}-{date}.pdf
- Sanitize company names for filesystem safety
- Include date in YYYY-MM-DD format
- Handle multiple comparison entities (e.g., "plus2" for 2 additional)
Examples:
- Single entity: "swot-Apple-2026-02-04.pdf"
- With comparison: "swot-Apple-vs-Microsoft-2026-02-04.pdf"
- Multiple comparisons: "swot-Apple-vs-Microsoft-plus2-2026-02-04.pdf"
Fixes: Downloaded PDF had generic filename with .txt suffix
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>