Settings: an output token limit of 0 is no limit #164

Manually merged
vinny merged 0 commits from vinny/unlimited-tokens into master 2026-10-28 01:36:46 -04:00 AGit
Owner

Operator 2026-10-28: "increase cmonet token limit ... set it to unlimited". llm_max_output_tokens stopped at 32768 (already set). 0 now means no limit: the chat request leaves max_tokens out so the model server's own limit applies; a flow agent's smaller max_tokens no longer narrows it; the Builder keeps the operator's own cap where one is set; 1-255 stay refused; the built-in loop's tester export writes 32768. Settings page: "Maximum output tokens (0 = no limit)". Test: tests/stage31/test_provider.py::test_an_output_limit_of_zero_sends_no_limit; stage31, flows and builder phase/model-control suites pass. 🤖 Generated with Claude Code

Operator 2026-10-28: "increase cmonet token limit ... set it to unlimited". llm_max_output_tokens stopped at 32768 (already set). 0 now means no limit: the chat request leaves max_tokens out so the model server's own limit applies; a flow agent's smaller max_tokens no longer narrows it; the Builder keeps the operator's own cap where one is set; 1-255 stay refused; the built-in loop's tester export writes 32768. Settings page: "Maximum output tokens (0 = no limit)". Test: tests/stage31/test_provider.py::test_an_output_limit_of_zero_sends_no_limit; stage31, flows and builder phase/model-control suites pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Operator 2026-10-28: "increase cmonet token limit ... set it to unlimited".
The limit stopped at 32768, already set. 0 now means no limit: the request
leaves max_tokens out, so the model server's own limit applies; a flow
agent's smaller max_tokens no longer narrows it, and the Builder keeps the
operator's own cap where one is set. 1 to 255 stay refused. The tester has
no "no limit", so the built-in loop's export writes 32768.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Version 0.7.106 (unlimited-tokens)
Some checks failed
check / check (ubuntu-latest) (push) Has been cancelled
check / check (windows-latest) (push) Has been cancelled
check / check (ubuntu-latest) (pull_request) Has been cancelled
check / check (windows-latest) (pull_request) Has been cancelled
9802a16628
vinny manually merged commit 9802a16628 into master 2026-10-28 01:36:46 -04:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
vinny/CMOnet!164
No description provided.