Skip to content

fix(agents): remove default response cap - #180

Merged
FluffyAIcode merged 1 commit into
mainfrom
AgentMemory/unlimited-agent-eos-0717
Jul 16, 2026
Merged

fix(agents): remove default response cap#180
FluffyAIcode merged 1 commit into
mainfrom
AgentMemory/unlimited-agent-eos-0717

Conversation

@FluffyAIcode

Copy link
Copy Markdown
Owner

Summary

  • make --max-response-tokens 0 the default, meaning no client-side response limit
  • continue 64-token Generate chunks until model EOS
  • preserve explicit positive caps as opt-in and mark capped stages incomplete
  • increase allens strict Prefill timeout from 300s to 900s for complete Generator output entering Critic context
  • update runbook and deployment contract tests

Root cause

The 64-token truncation was fixed, but the replacement 512-token default still cut off a real Riemann response. The user requires only model EOS or explicit operator approval to stop output.

Tests

  • unlimited multi-chunk EOS and explicit cap tests
  • REPL completion/gate and launchd timeout tests — 10 passed
  • full platform-neutral suite — 854 passed, 1 skipped
  • plist lint, Python compile and diff checks pass

Made with Cursor

Generate Agent responses in 64-token chunks until model EOS by default, retain only an operator-selected positive cap, and extend strict remote-prefill timeout for complete Critic contexts.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Jul 16, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@FluffyAIcode
FluffyAIcode merged commit 5d78736 into main Jul 16, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant