gmal-scope-builder/backend
DJP 09441a20b8 Fix deep extraction max_tokens: 16k→32k, shorter descriptions
Root cause: stop_reason=max_tokens - Claude ran out of output tokens
before finishing the tool call JSON for 50+ assets.

Fix:
- Bump max_tokens from 16000 to 32000 for both normal and deep extraction
- Tell Claude to keep descriptions SHORT (1 sentence max)
- Reduce input data to 35k chars (from 40k) to leave more room for output
- Better stop_reason logging on normal extraction too

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 16:51:08 -04:00
..
alembic Initial commit - GMAL Scope Builder 2026-03-27 17:35:14 -04:00
app Fix deep extraction max_tokens: 16k→32k, shorter descriptions 2026-04-12 16:51:08 -04:00
alembic.ini Initial commit - GMAL Scope Builder 2026-03-27 17:35:14 -04:00
Dockerfile Initial commit - GMAL Scope Builder 2026-03-27 17:35:14 -04:00
requirements.txt Add Azure SSO + production deployment config 2026-03-28 18:51:18 +00:00
start.sh Add Azure SSO + production deployment config 2026-03-28 18:51:18 +00:00