{"repo":"NousResearch/hermes-agent","public_id":"348","display_label":"Anthropic context overflow error detection and handling","summary":"These items address a bug where Anthropic's 'prompt is too long' 400 error was not recognized as a context length error, causing aborts instead of compression, along with a related fix to prevent infinite loops and prompt injection via cache files.","subsystem":"agent","counts":{"members":4,"open_issues":0,"open_issues_distinct":0,"open_prs":0,"closed_issues":2,"merged_prs":1,"attempt_prs":1},"landed_fix":{"status":"merged_to_main","basis":"structural","pr":403},"resolution":{"state":"partially_resolved","by":"pr-403"},"freshness":{"state":"stale","last_verified_at":"2026-03-05T01:48:49+00:00","is_stale":true},"grouping":{"backbone":"STRUCTURAL_PARTIAL","link_density":0.3933333333333333},"fix_edges":[{"issue_number":348,"pr_number":403,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true}],"members":[{"kind":"issue","number":348,"title":"Context overrun","url":null,"state":"closed"},{"kind":"issue","number":813,"title":"Anthropic \"prompt is too long\" 400 error not detected as context length error — aborts instead of compressing","url":null,"state":"closed"},{"kind":"pr","number":403,"title":"Fix context overrun crash with local LLM backends","url":null,"state":"merged","close_reason":{"category":"merged","implication":"superseded"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["run_agent.py"]},{"kind":"pr","number":821,"title":"fix(context): detect Anthropic 'prompt is too long' as context length error","url":null,"state":"closed","close_reason":{"category":"implemented_elsewhere","implication":"superseded"},"merged":false,"is_fix_pr":true,"fix_tier":"suggested","fix_detail_withheld":true}],"trust":{"default_tier":"verified","includes_suggested":false}}