Skip to content

0.10.18 C7 candidate: four PRs on dev - #2645

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

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

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 four 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
c9961b9afc Merge #2640 8257acc2df: SDK pin with JSON literals under combinator argument schemas. No conflict
c8ee066f32 Merge #2643 ba07833d14: tool-call arguments are read with the caller's declarations. No conflict
3c4a3a6bd8 Merge #2638 484e4d4917: Nemotron 3.5 draft calls before a second thought close stay reasoning. No conflict
0638024898 Merge #2641 3d8630865c: an Inkling 2 call frame that opens an answer message is read as the call. 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 four 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 9 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.
Inkling 2 Mini sometimes opens a text message where a call's header
belongs: <|content_text|>NAME<|content_invoke_tool_json|>{...}. Markers
inside an answer are its text, so the lexer returned the frame as answer
text: no call for a single call, one call fewer in a parallel response.

An answer's first bytes are now held while they can still be a function
name (letters, digits, _ or -, up to 64). If the marker follows, the
message is that call with the name as its header, checked against the
body's name as a header is; any other byte releases the held bytes as
the answer's text. Calls stay text when the request declares no tools.
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
…call frame that opens an answer message as the call
@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:17pm UTC
darkbloom-status Ready Ready Preview Nov 24, 2026 2:17pm UTC
eigen-homepages-darkbloom Ready Ready Preview Nov 24, 2026 2:17pm 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
@github-actions github-actions Bot removed 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

Copy link
Copy Markdown
Collaborator Author

Superseded by #2646.

This branch was successfully deployed

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