Skip to content

v0.21.1

Choose a tag to compare

@cpsievert cpsievert released this 12 Aug 17:13
· 31 commits to main since this release

Chatlas 0.21.1 improves compatibility with the OpenAI 3 SDK and fixes citation and token-cost edge cases.

What is fixed

  • OpenAI-based providers now support native httpx2 clients from the OpenAI 3 SDK. Legacy httpx clients remain supported at runtime during migration. (#387)
  • Anthropic citations backed by document_index now resolve to source URLs correctly, including when prior turns contain document-shaped content. (#382)
  • Token cost lookups now handle output-only models and ellmer's versioned pricing-data format. (#382)

Custom provider compatibility

Custom Provider implementations must accept a turns keyword argument on .stream_content(), .stream_turn(), and .value_turn() so response references can be resolved against the complete request history.