Skip to content

0.10.18 C7 candidate: three PRs on dev - #2646

Closed
jonathan308 wants to merge 7 commits into
devfrom
release/0.10.18-c7-candidate-2
Closed

jonathan308 wants to merge 7 commits into
devfrom
release/0.10.18-c7-candidate-2

Conversation

@jonathan308

@jonathan308 jonathan308 commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

This is the 0.10.18 C7 landing PR. Merge it into dev with a merge commit. One branch adds three PRs to dev 850a88f7a1. #2640 moves the one SDK pin, libs/mlx-swift-lm 20fa3d540d → cba8c22177, which is Layr-Labs/mlx-swift-lm#535 landed on SDK main by merge commit cba8c22177.

Commit What it does
6957481d0a Merge #2640 8257acc2df: SDK pin with JSON literals under combinator argument schemas. No conflict
4db7410d8e Merge #2643 ba07833d14: tool-call arguments are read with the caller's declarations. No conflict
8d8ea07b5b Merge #2638 484e4d4917: Nemotron 3.5 draft calls before a second thought close stay reasoning. No conflict

Test plan

  • Each merge is a clean git merge-tree result. The diff from dev to this head is exactly the union of the three PRs' changes.
  • Each source PR has CI on its exact head and a red control where it changes behaviour.
  • CI (dev) on the exact head.
  • SDK 27 release preparation on the exact head.

Components touched

  • provider-swift (Swift CLI)
  • native runtime / MLX: SDK pin
  • docs / changelog

AI usage

  • I have read this PR description in full and approve it as my own, and it
    accurately describes the code changes.
  • AI usage disclosure: an AI model (Claude Opus 5.5, in OpenCode) built the merge commits and wrote this description, and opened this PR on the repository owner's behalf under the owner's authorization for this release. Each merged PR discloses its own AI use. The acknowledgement box above is left for the owner.

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

jonathan308 and others added 7 commits November 24, 2026 05:34
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
@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
d-inference-landing Ready Ready Preview Nov 24, 2026 2:27pm UTC
darkbloom-status Ready Ready Preview Nov 24, 2026 2:27pm UTC
eigen-homepages-darkbloom Ready Ready Preview Nov 24, 2026 2:27pm UTC

Request Review

@jonathan308 jonathan308 added run-ci Trigger one-shot PR CI run (auto-removed when run starts) run-release-ci One-shot: run SDK 27 release and qualification on this PR (removed when the run starts) labels Nov 24, 2026
@jonathan308 jonathan308 mentioned this pull request Nov 24, 2026
5 of 8 tasks
@github-actions github-actions Bot removed run-release-ci One-shot: run SDK 27 release and qualification on this PR (removed when the run starts) run-ci Trigger one-shot PR CI run (auto-removed when run starts) labels Nov 24, 2026
@jonathan308

Copy link
Copy Markdown
Collaborator Author

Superseded by #2647.

This branch was successfully deployed

3 active deployments
Preview – eigen-homepages-darkbloom — 8d8ea07b Deployed Nov 24, 2026 by vercel[bot]
Preview – d-inference-landing — 8d8ea07b Deployed Nov 24, 2026 by vercel[bot]
Preview – darkbloom-status — 8d8ea07b Deployed Nov 24, 2026 by vercel[bot]
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