- 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> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| ai_descriptions.py | ||
| ai_matching.py | ||
| doc_parser.py | ||
| excel_parser.py | ||
| export_excel.py | ||
| export_pdf.py | ||
| match_refiner.py | ||
| ratecard_builder.py | ||
| rfp_analysis.py | ||
| team_shape.py | ||
| tier_expander.py | ||