Skip to content

v0.2.0

Choose a tag to compare

@ktsoator ktsoator released this 20 Jun 13:27

Overview

v0.2.0 is the first feature-complete public release of or. It establishes the core APIs for unified model access, streaming, tool calling, reasoning, request observability, and protocol extensibility. While the project remains pre-1.0, this release is the recommended baseline for new integrations.

Highlights

  • Added protocol-specific stream options and native tool-choice support for OpenAI and Anthropic.
  • Added public APIs for registering custom protocol adapters.
  • Added retry, timeout, request, and response observability options.
  • Improved reasoning persistence across multi-turn tool calls.

Reliability

  • Hardened stream lifecycle handling with exactly one terminal event.
  • Improved cancellation, panic recovery, SSE handling, and tool-argument parsing.
  • Added diagnostics for recovered tool-call arguments.

Upgrade Notes

Provider-neutral settings remain at the top level of StreamOptions. Protocol-specific settings should be supplied through ProtocolOptions.

go get github.com/ktsoator/or@v0.2.0

Full Changelog: v0.1.0...v0.2.0