gmal-scope-builder/backend/app
DJP 617c1e3ca3 Debug deep extraction Pass 2: better logging, truncate analysis, force tool use
- Log structure analysis length and data length before Pass 2
- Log stop_reason from Claude response
- If no assets returned, log the text response for debugging
- Truncate structure analysis to 4k chars if too long (leaves room for data)
- Reduce data to 40k chars (was 45k, combined with analysis was too large)
- Add instruction: "You MUST call extract_assets with at least one asset"

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 16:43:38 -04:00
..
api Deep extraction: live progress between passes + elapsed timer 2026-04-10 10:03:04 -04:00
middleware Fix 401: send ID token instead of Graph access token 2026-03-30 11:16:44 +01:00
models Client tier mapping + GMAL complexity variant expansion 2026-04-09 15:02:45 -04:00
schemas Client tier mapping + GMAL complexity variant expansion 2026-04-09 15:02:45 -04:00
services Debug deep extraction Pass 2: better logging, truncate analysis, force tool use 2026-04-12 16:43:38 -04:00
utils Improve matching, upload UX, collapse fix, full catalog approach 2026-03-27 19:22:08 -04:00
__init__.py Initial commit - GMAL Scope Builder 2026-03-27 17:35:14 -04:00
config.py Initial commit - GMAL Scope Builder 2026-03-27 17:35:14 -04:00
database.py Initial commit - GMAL Scope Builder 2026-03-27 17:35:14 -04:00
main.py P1: Role-specific efficiency profiles + BTG tool efficiencies 2026-04-09 13:48:30 -04:00