Skip to content

Clarify model step limit copy in agent settings - #788

Merged
1 commit merged into
dataelement:mainfrom
Y1fe1Zh0u:fix/model-step-limit-copy
Jul 24, 2026
Merged

Clarify model step limit copy in agent settings#788
1 commit merged into
dataelement:mainfrom
Y1fe1Zh0u:fix/model-step-limit-copy

Conversation

@Y1fe1Zh0u

Copy link
Copy Markdown
Collaborator

What changed

  • Rename the Agent setting from tool-call rounds to model step limit.
  • Describe the limit consistently in Chinese, English, and the component fallback.
  • Clarify that model steps returning wait or error results count toward the limit, while tool-call count is separate.

Why

The setting is stored as max_tool_rounds, but Runtime enforces it as model_turn_limit against model_step_count. The previous copy encouraged users to compare the visible number of tool calls with the Runtime model-step ceiling, even though those are different counters.

This PR changes copy only. It does not change the setting key, numeric range, default value, persistence, or Runtime behavior.

Validation

  • npm test — 85 tests passed
  • npm run build — passed
  • Chinese and English i18n JSON parsing — passed
  • git diff --check — passed

Not tested: visual confirmation on a deployed server.

The max_tool_rounds control limits model-result steps rather than tool calls, so its previous wording caused operators to compare an unrelated tool count with the Runtime ceiling. Align the Chinese, English, and fallback copy with the enforced semantics, including wait and error results.

Constraint: Preserve the existing setting key, numeric range, default, and Runtime behavior

Confidence: high

Scope-risk: narrow

Directive: Keep this copy aligned with node_executor model_step_count semantics

Tested: Frontend node tests (85 passed); npm production build; i18n JSON parsing; git diff check

Not-tested: Browser screenshot on a deployed server
@Y1fe1Zh0u Y1fe1Zh0u closed this pull request by merging all changes into dataelement:main in 5564700 Jul 24, 2026
Y1fe1Zh0u added a commit that referenced this pull request Jul 24, 2026
Integrate PR #788 so testers evaluate the Runtime model-step ceiling with accurate Chinese and English copy.

Constraint: Keep this integration copy-only
Confidence: high
Scope-risk: narrow
Tested: Merge completed without conflicts
Not-tested: Combined frontend suite and visual confirmation pending
Y1fe1Zh0u added a commit that referenced this pull request Jul 24, 2026
Waiting-to-cancel transitions can emit distinct delivery receipts from one preserved checkpoint, while legacy group members may no longer resolve an Agent model. Narrow checkpoint uniqueness only for delivery receipts and let shared compaction fall back to the configured Group Compact model when no active Agent model remains.

Constraint: Control-plane cancel must preserve the last authoritative Graph checkpoint

Rejected: Fabricate a cancel checkpoint | violates the existing Runtime checkpoint contract

Confidence: high

Scope-risk: narrow

Reversibility: clean before distinct same-checkpoint delivery rows are written

Directive: Keep delivery idempotency keyed by run_id and idempotency_key

Tested: 110 targeted backend tests, Alembic head validation, Python compileall, scoped Ruff

Not-tested: Live 3010 migration and reconciliation before commit

Related: #785 #786 #787 #788
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