Skip to content

v0.1.10

Choose a tag to compare

@sidkang sidkang released this 14 Nov 16:38
· 14 commits to main since this release

Account switching is off by default, and a turn that outlives agy's 180 s tool
deadline is relayed instead of lost.

The default that changed

  • account_failover is new and off. A turn that fails on this account's own
    quota, sign-in, credit or policy answers 409, which Magpie does not fail over,
    so the error reaches you and you pick the next account. Turn it on for the old
    behaviour.
  • Two costs, both in docs/error-routing.md §1.1: Magpie no longer rests the
    account on that turn, and every 5xx stays retryable whatever a plugin sends.

Tools

  • A tool call that outlives agy's 180 s MCP deadline is answered "still running"
    after 150 s with its call id; the model asks again through
    mcp_magpie_await_result (advertised from the first tools/list, since agy
    caches the catalog) and the caller's result lands in the same native prompt. A
    result that arrives between the notice and that question is handed over instead
    of being kept for the next prompt.

Usage

  • A turn's usage is read from the session/prompt result, subtracting what tool
    batches already reported, with the step rows as the fallback. A row that lands
    after the result no longer becomes the next turn's usage.
  • A local prompt timeout retires the worker: the deadline cancels nothing
    upstream, so reusing the session let a later tool result start a second prompt.

Errors

  • A bare 429 on a prompt that carries a trigger line is answered 400 with a
    hint, whether or not cloaking was on; a 429 that names which window is spent
    keeps its own answer instead of being read as a refused prompt.
  • A suspended account answers 403, and is held out of routing for six hours only
    when the turn's log agrees; a disabled account then fails fast instead of
    spawning agy again.
  • The refusal hint no longer claims a cause it cannot establish, and no message
    promises account switching that is off.

Cloaking stays off by default. Two scope gaps closed: the two Codex lines in
your own messages (never in tool results), and cloak_said_as for
phrase=replacement pairs. Two others are recorded in docs/plan.md item 8.

magpie plugin add magpie-agy-acp@0.1.10

393 tests, 11 release checks. CHANGELOG.md has the history; docs/error-routing.md
says why each status and wording is what it is.