Repository navigation
0.10.18 C7 candidate: three PRs on dev - #2646
Closed
jonathan308 wants to merge 7 commits into
Closed
jonathan308 wants to merge 7 commits into
jonathan308 wants to merge 7 commits into
Conversation
The call parser converted argument text with the render types the ingress repair writes for the chat template, so a union, `not` or if/then/else parameter read as its first or default member: under `oneOf: [integer, number]` the text "2.5" stayed a string, which the declaration refuses. The parser and the Qwen strict grammar's reading now use each tool's parameters as sent (`Prepared.argumentTools`, `ToolArgumentSchemas`), with a typeless enum/const node typed by its own values, which accepts the same instances. The template still renders the repaired declarations; auto validation already read the declarations as sent. GLM is unchanged. Tests cover the tool-call schema fuzz grid constructs: the reading accepts exactly the declared instances, the rendered parameter keeps its render type, and Qwen 3.5 calls parse to arguments their declaration accepts.
With reasoning on, Lightning sometimes closes its thought early to sketch the calls it plans, keeps reasoning in plain text, closes the thought again and then writes the real calls. The splitter absorbs the second </think> as a stray close and keeps everything before it as content, so the sketched frames were parsed as calls too: two parallel calls came back as four. On the Nemotron route (absorbStrayThinkClose with the nemotron parser), the splitter now holds content from the first tool frame after a closed thought. A stray </think> turns the held text into reasoning, so its frames never become calls; at the end of the output the held text is content as before. Calls are not deduplicated by value, since identical parallel calls can be intended.
…schemas Moves the SDK pin from 20fa3d540d to 689f2f00bf (Layr-Labs/mlx-swift-lm#535), which reads a tool-call argument written as a JSON literal as that literal when its schema admits the literal and rejects the text as a string, including under not, if/then/else, unions and untyped schemas.
Moves the SDK pin from 689f2f00bf to cba8c22177, the merge commit that landed Layr-Labs/mlx-swift-lm#535 on main. Its tree is #535's tree on main 52f81662a6.
…d tool-call arguments with the caller's declarations
…draft calls before a second thought close as reasoning
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
5 of 8 tasks
Collaborator
Author
|
Superseded by #2647. |
This branch was successfully deployed
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
This is the 0.10.18 C7 landing PR. Merge it into
devwith a merge commit. One branch adds three PRs todev850a88f7a1. #2640 moves the one SDK pin,libs/mlx-swift-lm20fa3d540d→cba8c22177, which is Layr-Labs/mlx-swift-lm#535 landed on SDKmainby merge commitcba8c22177.6957481d0a8257acc2df: SDK pin with JSON literals under combinator argument schemas. No conflict4db7410d8eba07833d14: tool-call arguments are read with the caller's declarations. No conflict8d8ea07b5b484e4d4917: Nemotron 3.5 draft calls before a second thought close stay reasoning. No conflictTest plan
git merge-treeresult. The diff fromdevto this head is exactly the union of the three PRs' changes.Components touched
AI usage
accurately describes the code changes.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.