Skip to content

v2.27.0

Choose a tag to compare

@github-actions github-actions released this 31 Oct 01:01
a774d7c

2.27.0 (2026-10-31)

Features

  • add cost_dollars to streaming answer and search responses (2fca0ea)
  • add forward-compatible handling for unknown response variants and enum values (2fca0ea)
  • deprecate livecrawl in favor of max_age_hours (2fca0ea)
  • preserve unknown AgentRunStatus and AgentStopReason values (2fca0ea)
  • response enums also accept unlisted strings and response unions include Unknown* models, so exhaustive type checks need a default case; websets.events.get returns UnknownEvent instead of raising ValueError (2fca0ea)
  • support JSON search responses in stream_search (2fca0ea)

Bug Fixes

  • fix AgentOutput usage counts to accept fractional values (2fca0ea)
  • fix response models for unknown research plan outputs and fractional Agent usage (2fca0ea)

Documentation

  • document the AgentDataSourceProvider provider reference (2fca0ea)