Skip to content

v0.3.2 — Fix variant routing in persistent process pool

Choose a tag to compare

@changw98ic changw98ic released this 30 May 16:23
· 207 commits to main since this release

Bug Fix

Fix: persistent process pool ignores provider variant (ollama/mimo)

The persistent process path in AcpPool never passed options.variant to envForAgent(), so variant environment variables (CPB_CLAUDE_VARIANT → ANTHROPIC_BASE_URL rewrite) were never applied. Since persistent processes are the default (CPB_ACP_PERSISTENT_PROCESS≠0), all hub-executed phases silently used the base Anthropic provider — regardless of config like execute: "ollama" or plan: "mimo".

Changes

  • Thread options through #runPersistent#runPersistentNow#getPersistentClient
  • Pass variant to envForAgent in persistent client creation
  • Include variant in poolClientKey so different variants get separate persistent clients

Impact

  • plan: claude + mimo and verify: claude + mimo now correctly route to MiMo v2.5 Pro
  • execute: claude + ollama (if configured) now correctly routes to Kimi K2.6
  • Previously all phases used the default Anthropic provider regardless of variant config