Repository navigation
Studio: keep Max Tool Calls Per Message set to Off after a reload - #11234
Merged
Merged
Conversation
Collaborator
|
Pushed a small follow-up (c89b695), no behavior change to the fix:
|
Collaborator
|
Codex review on a staging copy at c89b695 (same head as this PR): no major issues. Lyxot#55 (comment) |
Lyxot
approved these changes
Sep 18, 2026
Lyxot
left a comment
Collaborator
There was a problem hiding this comment.
LGTM. Off (0) now survives save and reload on both the frontend sanitizers and the settings payload; toolCallTimeout keeps its floor of 1 and booleans are still rejected. CI green.
shaojun
pushed a commit
to shaojun/unsloth
that referenced
this pull request
Sep 29, 2026
…slothai#11234) * Studio: keep Max Tool Calls Per Message = Off across a reload * Studio: reject a boolean for maxToolCallsPerMessage * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * test(studio): cover max tool calls Off in the settings payload table --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Lyxot <[email protected]>
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.
Setting Max Tool Calls Per Message to Off worked until the page was reloaded. Then it went back to the old number and tools ran again, with no error. The slider allowed 0 but the code that saves settings only accepted 1 or more.
Saving and loading now accept 0, in the browser and on the server. Tool call timeout still starts at 1.
Tested in Studio by setting the slider to Off and reloading. Before, it came back as 25. After, it stays Off.