Skip to content

v0.27.0

Choose a tag to compare

@github-actions github-actions released this 15 Sep 02:53
· 554 commits to main since this release

[0.27.0] - 2026-09-15

Added

  • OpenAI Responses API route (api: OpenAIResponses) via
    /v1/responses, for models that no longer speak chat-completions
    (e.g. GPT-5 tool calling).
  • Built-in DeepSeek model presets: config entries named deepseek-flash
    or deepseek-v4-pro auto-fill base_url / context_window /
    image_enabled from the catalog, so only name + api_key is required.
  • Built-in Gemini model presets (gemini-2.5-pro, gemini-2.5-flash,
    gemini-3-pro, gemini-3-flash) with provider-native thinking
    config (budget for 2.x, level for 3.x).
  • Built-in Kimi model presets (kimi-k3, kimi-k2.7-code) with Moonshot API defaults.
  • Built-in GLM presets (glm-5.3, glm-5.3-flash) on the z.ai coding
    plan, with Preserved Thinking.
  • Per-model think_enabled / think_level config keys and
    PHI_THINK_LEVEL env var override.
  • Rust SDK (ext/rust, crate phi-ext): Context gains cwd(),
    session_id(), and has_ui() accessors.
  • Docs: Supported models.

Changed

  • Provider routing uses explicit models[].api (OpenAI /
    OpenAIResponses / Anthropic / Gemini) instead of guessing from
    model name or base URL.
  • Vendor thinking wire shape (DeepSeek extra_body, Gemini budget/level)
    lives on model preset request interceptors, not client name matching.
  • Rust SDK: PXB messages are built by the declarative pxb_message! macro —
    pxb::Hello::encode() / decode() replace the free pxb::encode_hello /
    decode_hello functions (and likewise per message type). Wire format
    unchanged.
  • /diff: an empty overlay names the comparison (No changes vs <rev>) and
    reminds that untracked files never show up; git failures collapse to one
    line with the next step (fetch first, open inside the repo).

Deprecated

Removed

  • /resume slash command — use /sessions picker or phi run --session <id> instead.

Fixed

  • Windows: fd / rg installed in ~/.phi/bin as fd.exe / rg.exe are
    found again — the bin dir probe now tries the .exe suffix, so find and
    grep no longer report "fd is not available".
  • Windows: Git Bash is found for per-user installs
    (%LocalAppData%\Programs\Git) and for custom roots reached through the
    Git on PATH (D:\Git), instead of falling through to WSL's legacy
    bash.exe shim and failing with execvpe(/bin/bash): No such file or directory.

Security