Files
NeuroSploit/neurosploit-rs
CyberSecurityUP 20acca87b8 fix(harness): raise Claude max_tokens to 16k and add truncation detection
Claude models were capped at 4096 output tokens, causing agent ReAct chains
to consume the entire budget before writing JSON findings. All findings were
silently lost to truncation.

Changes:
- max_tokens_for() returns 16384 for claude-* models
- max_tokens_for() promoted to pub(crate) for cross-module use
- models.rs warns on stderr when finish_reason=length with partial content
- pipeline.rs exploit loop detects output length near token ceiling and
  warns operator about likely truncation when 0 findings extracted
- New test: claude_models_get_extended_output asserts 16k
2026-11-18 22:41:23 -03:00
..