Commit Graph

56 Commits

Author SHA1 Message Date
southseact-3d
42be1781e0 chore: reduce token limits for Professional and Enterprise plans
- Professional plan: reduced from 10M to 5M tokens per month
- Enterprise plan: reduced from 50M to 20M tokens per month
- Hobby (50k) and Starter (100k) remain unchanged

These limits align with the updated pricing structure from shopify-ai.
2026-02-08 13:33:32 +00:00
southseact-3d
0f631dc99a feat: implement prompt injection protection and OpenRouter paid API key support
- Add comprehensive prompt injection security module with 160+ attack pattern detection
- Implement security checks in message handling with proper blocking and user feedback
- Add OpenRouter paid API key support (OPENROUTER_PAID_API_KEY) for premium models
- Update model discovery and chat functions to use paid API key for premium models
- Add comprehensive test suite with 434 test cases (98.39% accuracy)
- Tests cover legitimate WordPress development queries, injection attacks, obfuscated attempts
- Improve builder loading indicators with text-based progress (building/planning)
- Replace spinning animations with 'Starting build/planning process' messages
2026-02-08 13:23:59 +00:00
cto-new[bot]
33e32b62b3 Add Chutes AI as a proper provider in admin limits section 2026-02-08 10:13:35 +00:00
cto-new[bot]
078ff433da Add automatic model discovery from configured external providers 2026-02-08 10:03:29 +00:00
cto-new[bot]
23d4c8d0e6 Refactor WordPress prompt system and add completion signal 2026-02-07 22:12:43 +00:00
southseact-3d
ed67b7741b Restore to commit 74e578279624c6045ca440a3459ebfa1f8d54191 2026-02-07 20:32:41 +00:00