Skip to content

v0.8.0

Latest

Choose a tag to compare

@dhruvbatra dhruvbatra released this 11 Jun 03:14
· 4 commits to main since this release
91b2c21

What's new

  • scouts.update(is_public=...) — scout visibility can now be changed after creation through both sync and async clients (the PATCH API always supported it; the SDK now exposes it).
  • APIConnectionError — httpx transport failures (timeouts, DNS/connect errors) are now wrapped in a dedicated SDK exception with a never-blank message, instead of escaping as raw httpx errors. Exported from the package root.
  • Lazy chat namespace — the OpenAI client behind client.chat is now constructed on first use instead of in every client __init__ (roughly half the construction cost for callers that never use chat completions), and close() releases it robustly via try/finally.

Full changes: #131