Let length continuations and Anthropic output run unbounded #7

Merged
weichen merged 2 commits from feature/stream-display-overhaul into main 2026-10-02 05:04:53 +00:00
Owner

Why: A fixed continuation cap and a 4096 Anthropic fallback stopped long tool-argument generations.

Evidence: go test ./runtime/ ./runtime/llm/.

Impact: MaxLengthContinuations negative means unlimited. Unset Anthropic max_tokens is 128000 because the API requires the field.

Merge this before Backend.

Why: A fixed continuation cap and a 4096 Anthropic fallback stopped long tool-argument generations. Evidence: go test ./runtime/ ./runtime/llm/. Impact: MaxLengthContinuations negative means unlimited. Unset Anthropic max_tokens is 128000 because the API requires the field. Merge this before Backend.
weichen added 1 commit 2026-10-02 02:38:00 +00:00
Let length continuations and Anthropic output run unbounded
ci / vet-and-test (pull_request) Failing after 1m30s
ci / docker-checkout-hostgateway (pull_request) Failing after 7m5s
c6d867cde7
Why: A fixed continuation cap and a 4096-token Anthropic fallback stopped long replies before the agent finished.
Evidence: go test ./runtime/ ./runtime/llm/
Impact: MaxLengthContinuations of 0 keeps the old cap of 3; a negative value removes it. Unset Anthropic max_tokens defaults to 128000.
Refs: feature/stream-display-overhaul
Co-authored-by: Cursor <cursoragent@cursor.com>
weichen added 1 commit 2026-10-02 05:04:46 +00:00
Merge remote-tracking branch 'origin/main' into feature/stream-display-overhaul
ci / vet-and-test (pull_request) Failing after 3s
ci / docker-checkout-hostgateway (pull_request) Successful in 2s
e047d90985
weichen merged commit 7e0374ff40 into main 2026-10-02 05:04:53 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-Native#7