Skip to content

MTPLX v0.3.3

Choose a tag to compare

@youssofal youssofal released this 12 May 00:48
· 2357 commits to main since this release

MTPLX v0.3.3

Patch release for OpenAI-compatible serving clients and coding-agent tool UX.

Added

  • mtplx doctor android-studio for model discovery, nonstream chat, streaming chat, and tool-bearing request smoke.
  • Android Studio/OpenAI-compatible request-shape tolerance for max_completion_tokens, stream_options, response_format, metadata, and parallel_tool_calls.

Changed

  • Qwen XML tool calls now stream OpenAI delta.tool_calls incrementally, so compatible clients can mount file-write/edit cards before the full argument body finishes.
  • Pi handoff no longer writes a hidden model-level maxTokens cap.

Fixed

  • Fixed Android Studio issue #58 where /v1/chat/completions could fail as 500: null.
  • Hardened malformed, unknown, unclosed, or schema-invalid tool-call output so it falls back safely instead of hanging or storing raw XML as successful assistant tool history.

QA

  • Local source tests: public CLI, OpenCode/onboarding, OpenAI bridge, server, and streaming tool-call translator passed.
  • Built wheel/sdist and passed twine check plus fresh no-MLX venv smoke.
  • Installed the built wheel in a clean temp environment and verified mtplx 0.3.3 plus OpenCode dry-run with no hidden maxTokens.
  • Real local CLI smoke loaded the Optimized Speed model and generated through the MTP path.
  • Real server/API smoke verified /health, max_completion_tokens, OpenAI-shaped invalid-request errors, Android doctor, and incremental streaming write_file tool-call deltas.