feat: add /max_steps slash command to adjust max_steps at runtime - #284
Open
yablokolabs wants to merge 5 commits into
Open
feat: add /max_steps slash command to adjust max_steps at runtime#284yablokolabs wants to merge 5 commits into
yablokolabs wants to merge 5 commits into
Conversation
- Adds mention of dedicated Ollama (local) preset in provider wizard - Notes auto-detection and streamlined setup in v0.2.1 - Improves discoverability of new local model preset feature
…configuration at runtime Adds a new slash command that allows users to get or set the agent's max_steps configuration without requiring a restart. The command validates input as a positive integer, updates both runtime config and persists to config.json. - Adds 'max_steps' entry to SLASH_COMMANDS registry with description - Implements dispatchMaxStepsSub function to handle command logic - Reuses existing parsePositiveInt validation from config-schema.ts - Updates getConfig().agent.maxSteps and persists via writeUserConfigFileSync - Provides clear systemMessage feedback for current value, updates, and errors - Handles persistence failures gracefully (updates runtime even if disk write fails) - Follows existing patterns from other slash commands like /theme, /model, etc.
yablokolabs
force-pushed
the
feat/max-steps-slash-command
branch
from
August 30, 2026 07:25
e83e71c to
da06140
Compare
yablokolabs
force-pushed
the
feat/max-steps-slash-command
branch
from
August 30, 2026 07:26
da06140 to
6ba1c6c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the TUI
/max_stepsslash command so operators can inspect or change the agent's per-turn step budget without restarting./max_stepsreports the active runtime value./max_steps <positive integer>updates the live TUI orchestrator and persistsagent.maxStepsto the user config.Validation
npm run lintpasses.npm run buildpasses.src/sidecar/send-message-concurrency.test.ts.