github magnitudedev/magnitude @magnitudedev/cli@0.2.6

4 hours ago

0.2.6

Patch Changes

  • 02568d6 Thanks @thrgreenwald! - - Fix Codex failing to send tool results back to a local model. Reasoning items that a client replays with content or summary set to null are now accepted as empty.

  • 835a476 Thanks @thrgreenwald! - - Fix an OpenCode session being rejected with "assistant content is required unless tool_calls are present" after a step that failed before producing any output. An empty assistant turn in the history is now skipped, in both the Chat Completions and Anthropic APIs.

  • 2a481f7 Thanks @thrgreenwald! - - Fix a headless magnitude serve that failed to start crashing with EBADF instead of reporting the error that stopped it.

  • 76d35d7 Thanks @thrgreenwald! - - Fix long requests to a local model failing with a 502 after about five minutes. A non-streaming generation or a long prompt sends nothing until it finishes, and the connection to the engine no longer times out while it waits.

  • d5bf92d Thanks @thrgreenwald! - - Fix models failing on M1 and M2 Macs during long prompts with "device lost: … Impacting Interactivity", after which the model stayed unloaded. The engine now relaxes the macOS GPU watchdog at start (as llama.cpp does), so prompts of 35k and 69k tokens on Gemma 4 26B complete instead of failing at about 20k.

  • 01a1728 Thanks @anerli! - - Speed up prompt processing on M5 and later Macs by about 50%: Qwen3.5-4B at a 64K context now processes prompts at about 970 tok/s (previously 652). Attention over the prompt reads keys and values directly through the GPU's tensor operations instead of staging them, and kernel tuning no longer keeps a slower default whose own timing was unstable.

    • Speed up prompt processing on every Mac by decoding each block of weights once for up to 512 rows instead of once per 64: matrix multiplies run 7–11% faster on an M4 Pro and 17–25% faster on an M1, with identical output. Qwen3.5-4B at a 64K context processes prompts at 534 tok/s on an M4 Pro (previously 513).
  • #166 c738ead Thanks @aaronjensen! - - Fix models failing to load on some Macs (for example Qwen 3.6 on an M5 Max) with a Metal shader compilation error such as "no template named 'extents' in namespace 'metal'". Metal kernels are now compiled with the same language version the device was probed with, so kernels that use tensor operations build wherever the probe found them available.

  • 44af293 Thanks @thrgreenwald! - - Fix Oh My Pi and OpenClaw failing on Qwen models when their tools take free-form JSON among optional properties. Where a model's grammar for parallel tool calls cannot be compiled efficiently but its grammar for a single call can, the request now allows one tool call per turn.

  • 048a92d Thanks @thrgreenwald! - - Fix the Windows engine aborting when a chat template or tool call produced invalid JSON. The template library is now built with C++ exception handling on MSVC, so JSON errors are reported instead of crashing the engine.

Don't miss a new magnitude release

NewReleases is sending notifications on new releases.