Skip to content

v0.27.0

Choose a tag to compare

@kid7st kid7st released this 31 Oct 11:29
· 137 commits to main since this release
fc4400f

fastagent 0.27.0 adds the thinking levels each model supports to info(). It follows 0.26.1.

Read before upgrading

info().models[].thinkingLevels is a required field (#872). A 0.27 client reading a 0.26 server's info() fails to decode it, so upgrade the server (the deployed agent) before, or together with, the client (connectAgent).

Added

  • Each model says which thinking levels it supports (#872, #788). AgentInfo.models[] gains thinkingLevels, lowest first, from pi-ai's getSupportedThinkingLevels: ["off"] for a model that does not reason. A picker offers these for Session.thinkingLevel. The v1 model descriptor had it; the v2 info() had dropped it. In SPEC §, the HTTP contract and /v1/openapi.json.

Known limitation

sessions.create and sessions.update do not refuse a level the model does not support; pi adjusts it to the nearest supported level when it calls the provider (clampThinkingLevel).