ac-tool/backend
Vadym Samoilenko d71a044a3c Fix model config alignment and improve error messaging
- Replace sys.exit(1) with ValueError in _validate_models() — prevents killing the worker process on invalid model keys
- ModelConfiguration now reads defaults from core.config instead of hardcoding model keys
- Fix .env: google-gemini20 → google-gemini31 (align with MODEL_MAPPINGS)
- Improve "No data extracted" error message to explain the document must be a marketing brief

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 15:33:54 +00:00
..
core Fix model config alignment and improve error messaging 2026-03-23 15:33:54 +00:00
data Initial commit — AC Tool unified application 2026-03-23 13:24:46 +00:00
prompts Initial commit — AC Tool unified application 2026-03-23 13:24:46 +00:00
server Fix model config alignment and improve error messaging 2026-03-23 15:33:54 +00:00
.gitignore Initial commit — AC Tool unified application 2026-03-23 13:24:46 +00:00
hypercorn.toml Initial commit — AC Tool unified application 2026-03-23 13:24:46 +00:00
requirements.txt Initial commit — AC Tool unified application 2026-03-23 13:24:46 +00:00
run_server.py Initial commit — AC Tool unified application 2026-03-23 13:24:46 +00:00