Changelog
2.9.0 (2025-12-04)
Full Changelog: v2.8.1…v2.9.0
Features
- api: gpt-5.1-codex-max and responses/compact (22f646e)
Bug Fixes
- client: avoid mutating user-provided response config object (#2700) (e040d22)
- ensure streams are always closed (0b1a27f)
- streaming: correct indentation (575bbac)
Chores
- deps: mypy 1.18.1 has a regression, pin to 1.17 (22cd586)
- docs: use environment variables for authentication in code snippets (c2a3cd5)
- internal: codegen related update (307a066)
- update lockfile (b4109c5)
2.8.1 (2025-11-17)
Full Changelog: v2.8.0…v2.8.1
Bug Fixes
- api: align types of input items / output items for typescript (64c9fb3)
2.8.0 (2025-11-13)
Full Changelog: v2.7.2…v2.8.0
Features
- api: gpt 5.1 (8d9f2ca)
Bug Fixes
- compat: update signatures of
model_dumpandmodel_dump_jsonfor Pydantic v1 (c7bd234)
2.7.2 (2025-11-10)
Full Changelog: v2.7.1…v2.7.2
Bug Fixes
- compat with Python 3.14 (15a7ec8)
Chores
- package: drop Python 3.8 support (afc14f2)
2.7.1 (2025-11-04)
Full Changelog: v2.7.0…v2.7.1
Bug Fixes
- api: fix nullability of logprobs (373b7f6)
2.7.0 (2025-11-03)
Full Changelog: v2.6.1…v2.7.0
Features
- api: Realtime API token_limits, Hybrid searching ranking options (5b43992)
- api: remove InputAudio from ResponseInputContent (bd70a33)
Bug Fixes
- client: close streams without requiring full consumption (d8bb7d6)
- readme: update realtime examples (#2714) (d0370a8)
- uploads: avoid file handle leak (4f1b691)
Chores
- internal/tests: avoid race condition with implicit client cleanup (933d23b)
- internal: grammar fix (it’s -> its) (f7e9e9e)
2.6.1 (2025-10-24)
Full Changelog: v2.6.0…v2.6.1
Bug Fixes
- api: docs updates (d01a0c9)
Chores
- client: clean up custom translations code (cfb9e25)
2.6.0 (2025-10-20)
Full Changelog: v2.5.0…v2.6.0
Features
- api: Add responses.input_tokens.count (6dd09e2)
Bug Fixes
- api: internal openapi updates (caabd7c)
2.5.0 (2025-10-17)
Full Changelog: v2.4.0…v2.5.0
Features
- api: api update (8b280d5)
Chores
- bump
httpx-aiohttpversion to 0.1.9 (67f2f0a)
2.4.0 (2025-10-16)
Full Changelog: v2.3.0…v2.4.0
Features
- api: Add support for gpt-4o-transcribe-diarize on audio/transcriptions endpoint (bdbe9b8)
Chores
2.3.0 (2025-10-10)
Full Changelog: v2.2.0…v2.3.0
Features
- api: comparison filter in/not in (aa49f62)
Chores
2.2.0 (2025-10-06)
Full Changelog: v2.1.0…v2.2.0
Features
- api: dev day 2025 launches (38ac009)
Bug Fixes
- client: add chatkit to beta resource (de3e561)
2.1.0 (2025-10-02)
Full Changelog: v2.0.1…v2.1.0
Features
- api: add support for realtime calls (7f7925b)
2.0.1 (2025-10-01)
Full Changelog: v2.0.0…v2.0.1
Bug Fixes
- api: add status, approval_request_id to MCP tool call (2a02255)
2.0.0 (2025-09-30)
Full Changelog: v1.109.1…v2.0.0
⚠ BREAKING CHANGES
- api:
ResponseFunctionToolCallOutputItem.outputandResponseCustomToolCallOutput.outputnow returnstring | Array<ResponseInputText | ResponseInputImage | ResponseInputFile>instead ofstringonly. This may break existing callsites that assumeoutputis always a string.
Features
- api: Support images and files for function call outputs in responses, BatchUsage (4105376)
1.109.1 (2025-09-24)
Full Changelog: v1.109.0…v1.109.1
Bug Fixes
- compat: compat with
pydantic<2.8.0when using additional fields (5d95ecf)
1.109.0 (2025-09-23)
Full Changelog: v1.108.2…v1.109.0
Features
- api: gpt-5-codex (34502b5)
1.108.2 (2025-09-22)
Full Changelog: v1.108.1…v1.108.2
Bug Fixes
- api: fix mcp tool name (fd1c673)
Chores
- api: openapi updates for conversations (3224f6f)
- do not install brew dependencies in ./scripts/bootstrap by default (6764b00)
- improve example values (20b58e1)
1.108.1 (2025-09-19)
Full Changelog: v1.108.0…v1.108.1
Features
- api: add reasoning_text (18d8e12)
Chores
- types: change optional parameter type from NotGiven to Omit (acc190a)
1.108.0 (2025-09-17)
Full Changelog: v1.107.3…v1.108.0
Features
- api: type updates for conversations, reasoning_effort and results for evals (c2ee28c)
Chores
- internal: update pydantic dependency (369d10a)
1.107.3 (2025-09-15)
Full Changelog: v1.107.2…v1.107.3
Chores
1.107.2 (2025-09-12)
Full Changelog: v1.107.1…v1.107.2
Chores
1.107.1 (2025-09-10)
Full Changelog: v1.107.0…v1.107.1
Chores
- api: fix realtime GA types (570fc5a)
1.107.0 (2025-09-08)
Full Changelog: v1.106.1…v1.107.0
Features
- api: ship the RealtimeGA API shape (dc319d8)
Chores
- internal: codegen related update (b79b7ca)
1.106.1 (2025-09-04)
Full Changelog: v1.106.0…v1.106.1
Chores
- internal: move mypy configurations to
pyproject.tomlfile (ca413a2)
1.106.0 (2025-09-04)
Full Changelog: v1.105.0…v1.106.0
Features
1.105.0 (2025-09-03)
Full Changelog: v1.104.2…v1.105.0
Features
- api: Add gpt-realtime models (8502041)
1.104.2 (2025-09-02)
Full Changelog: v1.104.1…v1.104.2
Bug Fixes
- types: add aliases back for web search tool types (2521cd8)
1.104.1 (2025-09-02)
Full Changelog: v1.104.0…v1.104.1
Chores
- api: manual updates for ResponseInputAudio (0db5061)
1.104.0 (2025-09-02)
Full Changelog: v1.103.0…v1.104.0
Features
- types: replace List[str] with SequenceNotStr in params (bc00bda)
Bug Fixes
- types: update more types to use SequenceNotStr (cff135c)
- types: update some types to SequenceNotStr (03f8b88)
Chores
- remove unused import (ac7795b)
1.103.0 (2025-09-02)
Full Changelog: v1.102.0…v1.103.0
Features
- api: realtime API updates (b7c2ddc)
Bug Fixes
- responses: add missing params to stream() method (bfc0673)
Chores
- bump
inline-snapshotversion to 0.28.0 (#2590) (a6b0872) - client: format imports (7ae3020)
- internal: add Sequence related utils (d3d72b9)
- internal: fix formatting (3ab273f)
- internal: minor formatting change (478a348)
- internal: update pyright exclude list (66e440f)
1.102.0 (2025-08-26)
Full Changelog: v1.101.0…v1.102.0
Features
- api: add web search filters (1c199a8)
Bug Fixes
- avoid newer type syntax (bd0c668)
Chores
1.101.0 (2025-08-21)
Full Changelog: v1.100.3…v1.101.0
Features
- api: Add connectors support for MCP tool (a47f962)
- api: adding support for /v1/conversations to the API (e30bcbc)
Chores
- update github action (7333b28)
1.100.3 (2025-08-20)
Full Changelog: v1.100.2…v1.100.3
Chores
- internal/ci: setup breaking change detection (ca2f936)
1.100.2 (2025-08-19)
Full Changelog: v1.100.1…v1.100.2
Chores
- api: accurately represent shape for verbosity on Chat Completions (c39d5fd)
1.100.1 (2025-08-18)
Full Changelog: v1.100.0…v1.100.1
Bug Fixes
- types: revert response text config deletion (ac4fb19)
1.100.0 (2025-08-18)
Full Changelog: v1.99.9…v1.100.0
Features
- api: add new text parameters, expiration options (e3dfa7c)
1.99.9 (2025-08-12)
Full Changelog: v1.99.8…v1.99.9
Bug Fixes
- types: actually fix ChatCompletionMessageToolCall type (20cb0c8)
1.99.8 (2025-08-11)
Full Changelog: v1.99.7…v1.99.8
Bug Fixes
- internal/tests: correct snapshot update comment (2784a7a)
- types: revert ChatCompletionMessageToolCallUnion breaking change (ba54e03)
Chores
- internal/tests: add inline snapshot format command (8107db8)
- internal: fix formatting (f03a03d)
- tests: add responses output_text test (971347b)
Refactors
- tests: share snapshot utils (791c567)
1.99.7 (2025-08-11)
Full Changelog: v1.99.6…v1.99.7
Bug Fixes
- types: rename ChatCompletionMessageToolCallParam (48085e2)
- types: revert ChatCompletionMessageToolCallParam to a TypedDict (c8e9cec)
1.99.6 (2025-08-09)
Full Changelog: v1.99.5…v1.99.6
Bug Fixes
- types: re-export more tool call types (8fe5741)
Chores
1.99.5 (2025-08-08)
Full Changelog: v1.99.4…v1.99.5
Bug Fixes
- client: fix verbosity parameter location in Responses (2764ff4)
1.99.4 (2025-08-08)
Full Changelog: v1.99.3…v1.99.4
Bug Fixes
- types: rename chat completion tool (8d3bf88)
- types: revert ChatCompletionToolParam to a TypedDict (3f4ae72)
1.99.3 (2025-08-07)
Full Changelog: v1.99.2…v1.99.3
Bug Fixes
- responses: add output_text back (585a4f1)
1.99.2 (2025-08-07)
Full Changelog: v1.99.1…v1.99.2
Features
- api: adds GPT-5 and new API features: platform.openai.com/docs/guides/gpt-5 (ed370d8)
Bug Fixes
- types: correct tool types (0c57bd7)
Chores
- tests: bump inline-snapshot dependency (e236fde)
1.99.1 (2025-08-05)
Full Changelog: v1.99.0…v1.99.1
Bug Fixes
- internal: correct event imports (2a6d143)
1.99.0 (2025-08-05)
Full Changelog: v1.98.0…v1.99.0
Features
Bug Fixes
- add missing prompt_cache_key & prompt_cache_key params (00b49ae)
Chores
- internal: fix ruff target version (aa6b252)
1.98.0 (2025-07-30)
Full Changelog: v1.97.2…v1.98.0
Features
- api: manual updates (88a8036)
1.97.2 (2025-07-30)
Full Changelog: v1.97.1…v1.97.2
Chores
- client: refactor streaming slightly to better future proof it (71c0c74)
- project: add settings file for vscode (29c22c9)
1.97.1 (2025-07-22)
Full Changelog: v1.97.0…v1.97.1
Bug Fixes
Chores
- api: event shapes more accurate (f3a9a92)
1.97.0 (2025-07-16)
Full Changelog: v1.96.1…v1.97.0
Features
- api: manual updates (ed8e899)
1.96.1 (2025-07-15)
Full Changelog: v1.96.0…v1.96.1
Chores
- api: update realtime specs (b68b71b)
1.96.0 (2025-07-15)
Full Changelog: v1.95.1…v1.96.0
Features
- clean up environment call outs (87c2e97)
Chores
- api: update realtime specs, build config (bf06d88)
1.95.1 (2025-07-11)
Full Changelog: v1.95.0…v1.95.1
Bug Fixes
- client: don’t send Content-Type header on GET requests (182b763)
1.95.0 (2025-07-10)
Full Changelog: v1.94.0…v1.95.0
Features
- api: add file_url, fix event ID (265e216)
Chores
- readme: fix version rendering on pypi (1eee5ca)
1.94.0 (2025-07-10)
Full Changelog: v1.93.3…v1.94.0
Features
1.93.3 (2025-07-09)
Full Changelog: v1.93.2…v1.93.3
Bug Fixes
- parsing: correctly handle nested discriminated unions (fc8a677)
1.93.2 (2025-07-08)
Full Changelog: v1.93.1…v1.93.2
Chores
1.93.1 (2025-07-07)
Full Changelog: v1.93.0…v1.93.1
Bug Fixes
- ci: correct conditional (de6a9ce)
- responses: add missing arguments to parse (05590ec)
- vector stores: add missing arguments to files.create_and_poll (3152134)
- vector stores: add missing arguments to files.upload_and_poll (9d4f425)
Chores
- ci: change upload type (cd4aa88)
- ci: only run for pushes and fork pull requests (f89c7eb)
- internal: codegen related update (bddb8d2)
- tests: ensure parse method is in sync with create (4f58e18)
- tests: ensure vector store files create and poll method is in sync (0fe75a2)
1.93.0 (2025-06-27)
Full Changelog: v1.92.3…v1.93.0
Features
1.92.3 (2025-06-27)
Full Changelog: v1.92.2…v1.92.3
Bug Fixes
- client: avoid encoding error with empty API keys (5a3e64e)
Documentation
1.92.2 (2025-06-26)
Full Changelog: v1.92.1…v1.92.2
Chores
- api: remove unsupported property (ec24408)
1.92.1 (2025-06-26)
Full Changelog: v1.92.0…v1.92.1
Chores
- client: sync stream/parse methods over (e2536cf)
- docs: update README to include links to docs on Webhooks (ddbf9f1)
1.92.0 (2025-06-26)
Full Changelog: v1.91.0…v1.92.0
Features
Bug Fixes
- ci: release-doctor — report correct token name (ff8c556)
Chores
- internal: add tests for breaking change detection (710fe8f)
- tests: skip some failing tests on the latest python versions (93ccc38)
1.91.0 (2025-06-23)
Full Changelog: v1.90.0…v1.91.0
Features
- api: update api shapes for usage and code interpreter (060d566)
1.90.0 (2025-06-20)
Full Changelog: v1.89.0…v1.90.0
Features
- api: make model and inputs not required to create response (11bd62e)
1.89.0 (2025-06-20)
Full Changelog: v1.88.0…v1.89.0
Features
- client: add support for aiohttp (9218b07)
Bug Fixes
- tests: fix: tests which call HTTP endpoints directly with the example parameters (35bcc4b)
Chores
- readme: update badges (68044ee)
1.88.0 (2025-06-17)
Full Changelog: v1.87.0…v1.88.0
Features
- api: manual updates (5d18a84)
Chores
1.87.0 (2025-06-16)
Full Changelog: v1.86.0…v1.87.0
Features
- api: add reusable prompt IDs (36bfe6e)
Bug Fixes
- client: update service_tier on
client.beta.chat.completions(aa488d5)
Chores
- internal: codegen related update (b1a31e5)
- internal: update conftest.py (bba0213)
- tests: add tests for httpx client instantiation & proxies (bc93712)
1.86.0 (2025-06-10)
Full Changelog: v1.85.0…v1.86.0
Features
- api: Add o3-pro model IDs (d8dd80b)
1.85.0 (2025-06-09)
Full Changelog: v1.84.0…v1.85.0
Features
- api: Add tools and structured outputs to evals (002cc7b)
Bug Fixes
- responses: support raw responses for
parse()(d459943)
1.84.0 (2025-06-03)
Full Changelog: v1.83.0…v1.84.0
Features
- api: add new realtime and audio models, realtime session options (0acd0da)
Chores
- api: update type names (1924559)
1.83.0 (2025-06-02)
Full Changelog: v1.82.1…v1.83.0
Features
- api: Config update for pakrym-stream-param (88bcf3a)
- client: add follow_redirects request option (26d715f)
Bug Fixes
- api: Fix evals and code interpreter interfaces (2650159)
- client: return binary content from
get /containers/{container_id}/files/{file_id}/content(f7c80c4)
Chores
- api: mark some methods as deprecated (3e2ca57)
- deprecate Assistants API (9d166d7)
- docs: remove reference to rye shell (c7978e9)
1.82.1 (2025-05-29)
Full Changelog: v1.82.0…v1.82.1
Bug Fixes
- responses: don’t include
parsed_argumentswhen re-serialising (6d04193)
Chores
- internal: fix release workflows (361a909)
1.82.0 (2025-05-22)
Full Changelog: v1.81.0…v1.82.0
Features
- api: new streaming helpers for background responses (2a65d4d)
Bug Fixes
Documentation
1.81.0 (2025-05-21)
Full Changelog: v1.80.0…v1.81.0
Features
- api: add container endpoint (054a210)
1.80.0 (2025-05-21)
Full Changelog: v1.79.0…v1.80.0
Features
- api: new API tools (d36ae52)
Chores
- docs: grammar improvements (e746145)
1.79.0 (2025-05-16)
Full Changelog: v1.78.1…v1.79.0
Features
- api: further updates for evals API (32c99a6)
- api: manual updates (25245e5)
- api: responses x eval api (fd586cb)
- api: Updating Assistants and Evals API schemas (98ba7d3)
Bug Fixes
- fix create audio transcription endpoint (e9a89ab)
Chores
1.78.1 (2025-05-12)
Full Changelog: v1.78.0…v1.78.1
Bug Fixes
- internal: fix linting due to broken test annotation (5a7d7a0)
- package: support direct resource imports (2293fc0)
1.78.0 (2025-05-08)
Full Changelog: v1.77.0…v1.78.0
Features
- api: Add reinforcement fine-tuning api support (bebe361)
Bug Fixes
Chores
- internal: update proxy tests (b8e848d)
- use lazy imports for module level client (4d0f409)
- use lazy imports for resources (834813c)
1.77.0 (2025-05-02)
Full Changelog: v1.76.2…v1.77.0
Features
- api: add image sizes, reasoning encryption (473469a)
Bug Fixes
Chores
- only strip leading whitespace (8467d66)
1.76.2 (2025-04-29)
Full Changelog: v1.76.1…v1.76.2
Chores
- api: API spec cleanup (0a4d3e2)
1.76.1 (2025-04-29)
Full Changelog: v1.76.0…v1.76.1
Chores
- broadly detect json family of content-type headers (b4b1b08)
- ci: only use depot for staging repos (35312d8)
- ci: run on more branches and use depot runners (a6a45d4)
1.76.0 (2025-04-23)
Full Changelog: v1.75.0…v1.76.0
Features
- api: adding new image model support (74d7692)
Bug Fixes
- pydantic v1: more robust
ModelField.annotationcheck (#2163) (7351b12) - pydantic v1: more robust ModelField.annotation check (eba7856)
Chores
- ci: add timeout thresholds for CI jobs (0997211)
- internal: fix list file params (da2113c)
- internal: import reformatting (b425fb9)
- internal: minor formatting changes (aed1d76)
- internal: refactor retries to not use recursion (8cb8cfa)
- internal: update models test (870ad4e)
- update completion parse signature (a44016c)
1.75.0 (2025-04-16)
Full Changelog: v1.74.1…v1.75.0
Features
- api: add o3 and o4-mini model IDs (4bacbd5)
1.74.1 (2025-04-16)
Full Changelog: v1.74.0…v1.74.1
Chores
1.74.0 (2025-04-14)
Full Changelog: v1.73.0…v1.74.0
Features
- api: adding gpt-4.1 family of model IDs (d4dae55)
Bug Fixes
Chores
1.73.0 (2025-04-12)
Full Changelog: v1.72.0…v1.73.0
Features
- api: manual updates (a3253dd)
Bug Fixes
Chores
- internal: expand CI branch coverage (#2295) (0ae783b)
- internal: reduce CI branch coverage (2fb7d42)
- slight wording improvement in README (#2291) (e020759)
- workaround build errors (4e10c96)
1.72.0 (2025-04-08)
Full Changelog: v1.71.0…v1.72.0
Features
Chores
- internal: fix examples (#2288) (39defd6)
- internal: skip broken test (#2289) (e2c9bce)
- internal: slight transform perf improvement (#2284) (746174f)
- tests: improve enum examples (#2286) (c9dd81c)
1.71.0 (2025-04-07)
Full Changelog: v1.70.0…v1.71.0
Features
- api: manual updates (bf8b4b6)
- api: manual updates (3e37aa3)
- api: manual updates (dba9b65)
- api: manual updates (f0c463b)
Chores
- deps: allow websockets v15 (#2281) (19c619e)
- internal: only run examples workflow in main repo (#2282) (c3e0927)
- internal: remove trailing character (#2277) (5a21a2d)
- Remove deprecated/unused remote spec feature (23f76eb)
1.70.0 (2025-03-31)
Full Changelog: v1.69.0…v1.70.0
Features
- api: add
get /responses/{response_id}/input_itemsendpoint (4c6a35d)
1.69.0 (2025-03-27)
Full Changelog: v1.68.2…v1.69.0
Features
- api: add
get /chat/completionsendpoint (e6b8a42)
Bug Fixes
- audio: correctly parse transcription stream events (16a3a19)
Chores
- add hash of OpenAPI spec/config inputs to .stats.yml (515e1cd)
- api: updates to supported Voice IDs (#2261) (64956f9)
- fix typos (#2259) (6160de3)
1.68.2 (2025-03-21)
Full Changelog: v1.68.1…v1.68.2
Refactors
- package: rename audio extra to voice_helpers (2dd6cb8)
1.68.1 (2025-03-21)
Full Changelog: v1.68.0…v1.68.1
Bug Fixes
- client: remove duplicate types (#2235) (063f7d0)
- helpers/audio: remove duplicative module (f253d04)
- package: make sounddevice and numpy optional dependencies (8b04453)
Chores
- ci: run workflows on next too (67f89d4)
1.68.0 (2025-03-20)
Full Changelog: v1.67.0…v1.68.0
Features
- add audio helpers (423655c)
- api: new models for TTS, STT, + new audio features for Realtime (#2232) (ab5192d)
1.67.0 (2025-03-19)
Full Changelog: v1.66.5…v1.67.0
Features
1.66.5 (2025-03-18)
Full Changelog: v1.66.4…v1.66.5
Bug Fixes
Chores
1.66.4 (2025-03-17)
Full Changelog: v1.66.3…v1.66.4
Bug Fixes
- ci: ensure pip is always available (#2207) (3f08e56)
- ci: remove publishing patch (#2208) (dd2dab7)
- types: handle more discriminated union shapes (#2206) (f85a9c6)
Chores
- internal: bump rye to 0.44.0 (#2200) (2dd3139)
- internal: remove CI condition (#2203) (9620fdc)
- internal: remove extra empty newlines (#2195) (a1016a7)
- internal: update release workflows (e2def44)
1.66.3 (2025-03-12)
Full Changelog: v1.66.2…v1.66.3
Bug Fixes
1.66.2 (2025-03-11)
Full Changelog: v1.66.1…v1.66.2
Bug Fixes
1.66.1 (2025-03-11)
Full Changelog: v1.66.0…v1.66.1
Bug Fixes
Chores
- internal: temporary commit (afabec1)
1.66.0 (2025-03-11)
Full Changelog: v1.65.5…v1.66.0
Features
- api: add /v1/responses and built-in tools (854df97)
Chores
1.65.5 (2025-03-09)
Full Changelog: v1.65.4…v1.65.5
Chores
1.65.4 (2025-03-05)
Full Changelog: v1.65.3…v1.65.4
Bug Fixes
1.65.3 (2025-03-04)
Full Changelog: v1.65.2…v1.65.3
Chores
- internal: remove unused http client options forwarding (#2158) (76ec464)
- internal: run example files in CI (#2160) (9979345)
1.65.2 (2025-03-01)
Full Changelog: v1.65.1…v1.65.2
Bug Fixes
Chores
1.65.1 (2025-02-27)
Full Changelog: v1.65.0…v1.65.1
Documentation
1.65.0 (2025-02-27)
Full Changelog: v1.64.0…v1.65.0
Features
Chores
1.64.0 (2025-02-22)
Full Changelog: v1.63.2…v1.64.0
Features
Bug Fixes
- client: mark some request bodies as optional (4451f56)
Chores
1.63.2 (2025-02-17)
Full Changelog: v1.63.1…v1.63.2
Chores
1.63.1 (2025-02-17)
Full Changelog: v1.63.0…v1.63.1
Chores
1.63.0 (2025-02-13)
Full Changelog: v1.62.0…v1.63.0
Features
1.62.0 (2025-02-12)
Full Changelog: v1.61.1…v1.62.0
Features
- client: send
X-Stainless-Read-Timeoutheader (#2094) (0288213) - embeddings: use stdlib array type for improved performance (#2060) (9a95db9)
- pagination: avoid fetching when has_more: false (#2098) (1882483)
Bug Fixes
- api: add missing reasoning effort + model enums (#2096) (e0ca9f0)
- parsing: don’t default to an empty array (#2106) (8e748bb)
Chores
- internal: fix type traversing dictionary params (#2097) (4e5b368)
- internal: minor type handling changes (#2099) (a2c6da0)
1.61.1 (2025-02-05)
Full Changelog: v1.61.0…v1.61.1
Bug Fixes
- api/types: correct audio duration & role types (#2091) (afcea48)
- cli/chat: only send params when set (#2077) (688b223)
Chores
- internal: bummp ruff dependency (#2080) (b7a80b1)
- internal: change default timeout to an int (#2079) (d3df1c6)
1.61.0 (2025-01-31)
Full Changelog: v1.60.2…v1.61.0
Features
Bug Fixes
- types: correct metadata type + other fixes (12b87a4)
Chores
Documentation
1.60.2 (2025-01-27)
Full Changelog: v1.60.1…v1.60.2
Bug Fixes
- parsing: don’t validate input tools in the asynchronous
.parse()method (6fcfe73)
1.60.1 (2025-01-24)
Full Changelog: v1.60.0…v1.60.1
Chores
Documentation
1.60.0 (2025-01-22)
Full Changelog: v1.59.9…v1.60.0
Features
Chores
Documentation
- readme: mention failed requests in request IDs (5f7c30b)
1.59.9 (2025-01-20)
Full Changelog: v1.59.8…v1.59.9
Bug Fixes
Chores
- internal: avoid pytest-asyncio deprecation warning (#2041) (b901046)
- internal: update websockets dep (#2036) (642cd11)
Documentation
1.59.8 (2025-01-17)
Full Changelog: v1.59.7…v1.59.8
Bug Fixes
- streaming (c16f58e)
- structured outputs: avoid parsing empty empty content (#2023) (6d3513c)
- structured outputs: correct schema coercion for inline ref expansion (#2025) (2f4f0b3)
- types: correct type for vector store chunking strategy (#2017) (e389279)
Chores
- examples: update realtime model (f26746c), closes #2020
- internal: bump pyright dependency (#2021) (0a9a0f5)
- internal: streaming refactors (#2012) (d76a748)
- internal: update deps (#2015) (514e0e4)
Documentation
1.59.7 (2025-01-13)
Full Changelog: v1.59.6…v1.59.7
Chores
- export HttpxBinaryResponseContent class (7191b71)
1.59.6 (2025-01-09)
Full Changelog: v1.59.5…v1.59.6
Bug Fixes
Chores
1.59.5 (2025-01-08)
Full Changelog: v1.59.4…v1.59.5
Bug Fixes
Documentation
- fix typos (#1995) (be694a0)
- fix typos (#1996) (714aed9)
- more typo fixes (#1998) (7bd92f0)
- readme: moved period to inside parentheses (#1980) (e7fae94)
1.59.4 (2025-01-07)
Full Changelog: v1.59.3…v1.59.4
Chores
- add missing isclass check (#1988) (61d9072)
- add missing isclass check for structured outputs (bcbf013)
- internal: bump httpx dependency (#1990) (288c2c3)
Documentation
- realtime: fix event reference link (9b6885d)
1.59.3 (2025-01-03)
Full Changelog: v1.59.2…v1.59.3
Chores
1.59.2 (2025-01-03)
Full Changelog: v1.59.1…v1.59.2
Chores
1.59.1 (2025-01-02)
Full Changelog: v1.59.0…v1.59.1
Chores
1.59.0 (2024-12-21)
Full Changelog: v1.58.1…v1.59.0
Features
Chores
1.58.1 (2024-12-17)
Full Changelog: v1.58.0…v1.58.1
Documentation
- readme: fix example script link (23ba877)
1.58.0 (2024-12-17)
Full Changelog: v1.57.4…v1.58.0
Features
- add Realtime API support (#1958) (97d73cf)
- api: new o1 and GPT-4o models + preference fine-tuning (#1956) (ec22ffb)
Bug Fixes
- add reasoning_effort to all methods (8829c32)
- assistants: correctly send
includequery param (9a4c69c) - cli/migrate: change grit binaries prefix (#1951) (1c396c9)
Chores
Documentation
- add examples + guidance on Realtime API support (1cb00f8)
- readme: example snippet for client context manager (#1953) (ad80255)
1.57.4 (2024-12-13)
Full Changelog: v1.57.3…v1.57.4
Chores
- internal: remove some duplicated imports (#1946) (f94fddd)
- internal: updated imports (#1948) (13971fc)
1.57.3 (2024-12-12)
Full Changelog: v1.57.2…v1.57.3
Chores
1.57.2 (2024-12-10)
Full Changelog: v1.57.1…v1.57.2
Bug Fixes
Documentation
1.57.1 (2024-12-09)
Full Changelog: v1.57.0…v1.57.1
Chores
1.57.0 (2024-12-05)
Full Changelog: v1.56.2…v1.57.0
Features
Chores
1.56.2 (2024-12-04)
Full Changelog: v1.56.1…v1.56.2
Chores
1.56.1 (2024-12-03)
Full Changelog: v1.56.0…v1.56.1
Bug Fixes
- cli: remove usage of httpx proxies (0e9fc3d)
Chores
1.56.0 (2024-12-02)
Full Changelog: v1.55.3…v1.56.0
Features
1.55.3 (2024-11-28)
Full Changelog: v1.55.2…v1.55.3
Bug Fixes
1.55.2 (2024-11-27)
Full Changelog: v1.55.1…v1.55.2
Chores
Documentation
1.55.1 (2024-11-25)
Full Changelog: v1.55.0…v1.55.1
Bug Fixes
Chores
- remove now unused
cached-propertydep (#1867) (df5fac1) - remove now unused
cached-propertydep (#1891) (feebaae)
Documentation
1.55.0 (2024-11-20)
Full Changelog: v1.54.5…v1.55.0
Features
1.54.5 (2024-11-19)
Full Changelog: v1.54.4…v1.54.5
Bug Fixes
Chores
- internal: minor test changes (#1874) (189339d)
- internal: spec update (#1873) (24c81f7)
- tests: limit array example length (#1870) (1e550df)
1.54.4 (2024-11-12)
Full Changelog: v1.54.3…v1.54.4
Bug Fixes
Documentation
- bump models in example snippets to gpt-4o (#1861) (adafe08)
- move comments in example snippets (#1860) (362cf74)
- readme: add missing asyncio import (#1858) (dec9d0c)
1.54.3 (2024-11-06)
Full Changelog: v1.54.2…v1.54.3
Bug Fixes
1.54.2 (2024-11-06)
Full Changelog: v1.54.1…v1.54.2
Chores
1.54.1 (2024-11-05)
Full Changelog: v1.54.0…v1.54.1
Bug Fixes
- add new prediction param to all methods (6aa424d)
1.54.0 (2024-11-04)
Full Changelog: v1.53.1…v1.54.0
Features
- api: add support for predicted outputs (#1847) (42a4103)
- project: drop support for Python 3.7 (#1845) (0ed5b1a)
1.53.1 (2024-11-04)
Full Changelog: v1.53.0…v1.53.1
Bug Fixes
- don’t use dicts as iterables in transform (#1842) (258f265)
- support json safe serialization for basemodel subclasses (#1844) (2b80c90)
Chores
1.53.0 (2024-10-30)
Full Changelog: v1.52.2…v1.53.0
Features
- api: add new, expressive voices for Realtime and Audio in Chat Completions (7cf0a49)
Chores
1.52.2 (2024-10-23)
Full Changelog: v1.52.1…v1.52.2
Chores
1.52.1 (2024-10-22)
Full Changelog: v1.52.0…v1.52.1
Bug Fixes
Chores
- internal: bump ruff dependency (#1801) (859c672)
- internal: remove unused black config (#1807) (112dab0)
- internal: update spec version (#1810) (aa25b7b)
- internal: update test syntax (#1798) (d3098dd)
- tests: add more retry tests (#1806) (5525a1b)
1.52.0 (2024-10-17)
Full Changelog: v1.51.2…v1.52.0
Features
1.51.2 (2024-10-08)
Full Changelog: v1.51.1…v1.51.2
Chores
1.51.1 (2024-10-07)
Full Changelog: v1.51.0…v1.51.1
Bug Fixes
Chores
Documentation
- fix typo in fenced code block language (#1769) (57bbc15)
- improve and reference contributing documentation (#1767) (a985a8b)
1.51.0 (2024-10-01)
Full Changelog: v1.50.2…v1.51.0
Features
- api: support storing chat completions, enabling evals and model distillation in the dashboard (2840c6d)
Chores
Documentation
1.50.2 (2024-09-27)
Full Changelog: v1.50.1…v1.50.2
Bug Fixes
1.50.1 (2024-09-27)
Full Changelog: v1.50.0…v1.50.1
Documentation
1.50.0 (2024-09-26)
Full Changelog: v1.49.0…v1.50.0
Features
Chores
1.49.0 (2024-09-26)
Full Changelog: v1.48.0…v1.49.0
Features
Chores
1.48.0 (2024-09-25)
Full Changelog: v1.47.1…v1.48.0
Features
Bug Fixes
Chores
1.47.1 (2024-09-23)
Full Changelog: v1.47.0…v1.47.1
Bug Fixes
- pydantic v1: avoid warnings error (1e8e7d1)
1.47.0 (2024-09-20)
Full Changelog: v1.46.1…v1.47.0
Features
- client: send retry count header (21b0c00)
Chores
1.46.1 (2024-09-19)
Full Changelog: v1.46.0…v1.46.1
Bug Fixes
Chores
1.46.0 (2024-09-17)
Full Changelog: v1.45.1…v1.46.0
Features
Documentation
1.45.1 (2024-09-16)
Full Changelog: v1.45.0…v1.45.1
Chores
- internal: bump pyright / mypy version (#1717) (351af85)
- internal: bump ruff (#1714) (aceaf64)
- internal: update spec link (#1716) (ca58c7f)
Documentation
1.45.0 (2024-09-12)
Full Changelog: v1.44.1…v1.45.0
Features
- api: add o1 models (#1708) (06bd42e)
- errors: include completion in LengthFinishReasonError (#1701) (b0e3256)
Bug Fixes
1.44.1 (2024-09-09)
Full Changelog: v1.44.0…v1.44.1
Chores
Documentation
- readme: add section on determining installed version (#1697) (0255735)
- readme: improve custom
base_urlexample (#1694) (05eec8a)
1.44.0 (2024-09-06)
Full Changelog: v1.43.1…v1.44.0
Features
1.43.1 (2024-09-05)
Full Changelog: v1.43.0…v1.43.1
Chores
1.43.0 (2024-08-29)
Full Changelog: v1.42.0…v1.43.0
Features
1.42.0 (2024-08-20)
Full Changelog: v1.41.1…v1.42.0
Features
Chores
1.41.1 (2024-08-19)
Full Changelog: v1.41.0…v1.41.1
Bug Fixes
Chores
1.41.0 (2024-08-16)
Full Changelog: v1.40.8…v1.41.0
Features
- client: add uploads.upload_file helper (aae079d)
1.40.8 (2024-08-15)
Full Changelog: v1.40.7…v1.40.8
Chores
1.40.7 (2024-08-15)
Full Changelog: v1.40.6…v1.40.7
Bug Fixes
Chores
- docs: fix typo in example snippet (4e83b57)
- internal: use different 32bit detection method (#1652) (5831af6)
1.40.6 (2024-08-12)
Full Changelog: v1.40.5…v1.40.6
Chores
- examples: minor formatting changes (#1644) (e08acf1)
- internal: update some imports (#1642) (fce1ea7)
- sync openapi url (#1646) (8ae3801)
- tests: fix pydantic v1 tests (2623630)
1.40.5 (2024-08-12)
Full Changelog: v1.40.4…v1.40.5
Documentation
1.40.4 (2024-08-12)
Full Changelog: v1.40.3…v1.40.4
Bug Fixes
- json schema: unravel
$refs alongside additional keys (c7a3d29) - json schema: unwrap
allOfs with one entry (53d964d)
1.40.3 (2024-08-10)
Full Changelog: v1.40.2…v1.40.3
Chores
- ci: bump prism mock server version (#1630) (214d8fd)
- ci: codeowners file (#1627) (c059a20)
- internal: ensure package is importable in lint cmd (#1631) (779e6d0)
1.40.2 (2024-08-08)
Full Changelog: v1.40.1…v1.40.2
Bug Fixes
- client: raise helpful error message for response_format misuse (18191da)
- json schema: support recursive BaseModels in Pydantic v1 (#1623) (43e10c0)
Chores
1.40.1 (2024-08-07)
Full Changelog: v1.40.0…v1.40.1
Chores
1.40.0 (2024-08-06)
Full Changelog: v1.39.0…v1.40.0
Features
- api: add structured outputs support (e8dba7d)
Chores
- internal: bump ruff version (#1604) (3e19a87)
- internal: update pydantic compat helper function (#1607) (973c18b)
1.39.0 (2024-08-05)
Full Changelog: v1.38.0…v1.39.0
Features
Bug Fixes
- assistants: add parallel_tool_calls param to runs.stream (113e82a)
Chores
- internal: bump pyright (#1599) (27f0f10)
- internal: test updates (#1602) (af22d80)
- internal: use
TypeAliasmarker for type assignments (#1597) (5907ea0)
1.38.0 (2024-08-02)
Full Changelog: v1.37.2…v1.38.0
Features
- extract out
ImageModel,AudioModel,SpeechModel(#1586) (b800316) - make enums not nominal (#1588) (ab4519b)
1.37.2 (2024-08-01)
Full Changelog: v1.37.1…v1.37.2
Chores
- internal: add type construction helper (#1584) (cbb186a)
- runs/create_and_poll: add parallel_tool_calls request param (04b3e6c)
1.37.1 (2024-07-25)
Full Changelog: v1.37.0…v1.37.1
Chores
1.37.0 (2024-07-22)
Full Changelog: v1.36.1…v1.37.0
Features
Bug Fixes
Documentation
1.36.1 (2024-07-20)
Full Changelog: v1.36.0…v1.36.1
Bug Fixes
- types: add gpt-4o-mini to more assistants methods (39a8a37)
1.36.0 (2024-07-19)
Full Changelog: v1.35.15…v1.36.0
Features
1.35.15 (2024-07-18)
Full Changelog: v1.35.14…v1.35.15
Chores
- docs: document how to do per-request http client customization (#1560) (24c0768)
- internal: update formatting (#1553) (e1389bc)
1.35.14 (2024-07-15)
Full Changelog: v1.35.13…v1.35.14
Chores
- docs: minor update to formatting of API link in README (#1550) (a6e59c6)
- internal: minor formatting changes (ee1c62e)
- internal: minor options / compat functions updates (#1549) (a0701b5)
1.35.13 (2024-07-10)
Full Changelog: v1.35.12…v1.35.13
Bug Fixes
- threads/runs/create_and_run_stream: correct tool_resources param (8effd08)
Chores
1.35.12 (2024-07-09)
Full Changelog: v1.35.11…v1.35.12
Bug Fixes
- azure: refresh auth token during retries (#1533) (287926e)
- tests: fresh_env() now resets new environment values (64da888)
1.35.11 (2024-07-09)
Full Changelog: v1.35.10…v1.35.11
Chores
1.35.10 (2024-07-03)
Full Changelog: v1.35.9…v1.35.10
Chores
1.35.9 (2024-07-02)
Full Changelog: v1.35.8…v1.35.9
Bug Fixes
Chores
1.35.8 (2024-07-02)
Full Changelog: v1.35.7…v1.35.8
Chores
- gitignore test server logs (#1509) (936d840)
- internal: add helper method for constructing
BaseModels (#1517) (e5ddbf5) - internal: add reflection helper function (#1508) (6044e1b)
- internal: add rich as a dev dependency (#1514) (8a2b4e4)
1.35.7 (2024-06-27)
Full Changelog: v1.35.6…v1.35.7
Bug Fixes
1.35.6 (2024-06-27)
Full Changelog: v1.35.5…v1.35.6
Documentation
1.35.5 (2024-06-26)
Full Changelog: v1.35.4…v1.35.5
Bug Fixes
- cli/migrate: avoid reliance on Python 3.12 argument (be7a06b)
1.35.4 (2024-06-26)
Full Changelog: v1.35.3…v1.35.4
Bug Fixes
- docs: fix link to advanced python httpx docs (#1499) (cf45cd5)
- temporarily patch upstream version to fix broken release flow (#1500) (4f10470)
Chores
1.35.3 (2024-06-20)
Full Changelog: v1.35.2…v1.35.3
Bug Fixes
- tests: add explicit type annotation (9345f10)
1.35.2 (2024-06-20)
Full Changelog: v1.35.1…v1.35.2
Bug Fixes
- api: add missing parallel_tool_calls arguments (4041e4f)
1.35.1 (2024-06-19)
Full Changelog: v1.35.0…v1.35.1
Bug Fixes
1.35.0 (2024-06-18)
Full Changelog: v1.34.0…v1.35.0
Features
1.34.0 (2024-06-12)
Full Changelog: v1.33.0…v1.34.0
Features
1.33.0 (2024-06-07)
Full Changelog: v1.32.1…v1.33.0
Features
1.32.1 (2024-06-07)
Full Changelog: v1.32.0…v1.32.1
Bug Fixes
1.32.0 (2024-06-06)
Full Changelog: v1.31.2…v1.32.0
Features
1.31.2 (2024-06-06)
Full Changelog: v1.31.1…v1.31.2
Chores
1.31.1 (2024-06-05)
Full Changelog: v1.31.0…v1.31.1
Chores
1.31.0 (2024-06-03)
Full Changelog: v1.30.5…v1.31.0
Features
Chores
- fix lint (1886dd4)
1.30.5 (2024-05-29)
Full Changelog: v1.30.4…v1.30.5
Chores
- internal: fix lint issue (35a1e80)
1.30.4 (2024-05-28)
Full Changelog: v1.30.3…v1.30.4
Chores
1.30.3 (2024-05-24)
Full Changelog: v1.30.2…v1.30.3
Chores
- ci: update rye install location (#1440) (8a0e5bf)
- internal: bump pyright (#1442) (64a151e)
- internal: fix lint issue (#1444) (b0eb458)
Documentation
- contributing: update references to rye-up.com (dcc34a2)
1.30.2 (2024-05-23)
Full Changelog: v1.30.1…v1.30.2
Chores
1.30.1 (2024-05-14)
Full Changelog: v1.30.0…v1.30.1
Chores
1.30.0 (2024-05-14)
Full Changelog: v1.29.0…v1.30.0
Features
1.29.0 (2024-05-13)
Full Changelog: v1.28.2…v1.29.0
Features
1.28.2 (2024-05-13)
Full Changelog: v1.28.1…v1.28.2
Bug Fixes
Chores
1.28.1 (2024-05-11)
Full Changelog: v1.28.0…v1.28.1
Chores
1.28.0 (2024-05-09)
Full Changelog: v1.27.0…v1.28.0
Features
1.27.0 (2024-05-08)
Full Changelog: v1.26.0…v1.27.0
Features
1.26.0 (2024-05-06)
Full Changelog: v1.25.2…v1.26.0
Features
1.25.2 (2024-05-05)
Full Changelog: v1.25.1…v1.25.2
Documentation
1.25.1 (2024-05-02)
Full Changelog: v1.25.0…v1.25.1
Chores
1.25.0 (2024-05-01)
Full Changelog: v1.24.1…v1.25.0
Features
1.24.1 (2024-04-30)
Full Changelog: v1.24.0…v1.24.1
Chores
1.24.0 (2024-04-29)
Full Changelog: v1.23.6…v1.24.0
Features
Chores
- client: log response headers in debug mode (#1383) (f31a426)
- internal: minor reformatting (#1377) (7003dbb)
- internal: reformat imports (#1375) (2ad0c3b)
1.23.6 (2024-04-25)
Full Changelog: v1.23.5…v1.23.6
Chores
1.23.5 (2024-04-24)
Full Changelog: v1.23.4…v1.23.5
Chores
1.23.4 (2024-04-24)
Full Changelog: v1.23.3…v1.23.4
Bug Fixes
Chores
1.23.3 (2024-04-23)
Full Changelog: v1.23.2…v1.23.3
Chores
1.23.2 (2024-04-19)
Full Changelog: v1.23.1…v1.23.2
Bug Fixes
1.23.1 (2024-04-18)
Full Changelog: v1.23.0…v1.23.1
Bug Fixes
1.23.0 (2024-04-18)
Full Changelog: v1.22.0…v1.23.0
Features
Documentation
1.22.0 (2024-04-18)
Full Changelog: v1.21.2…v1.22.0
Features
Chores
- internal: ban usage of lru_cache (#1331) (8f9223b)
- internal: bump pyright to 1.1.359 (#1337) (feec0dd)
1.21.2 (2024-04-17)
Full Changelog: v1.21.1…v1.21.2
Chores
1.21.1 (2024-04-17)
Full Changelog: v1.21.0…v1.21.1
Chores
1.21.0 (2024-04-17)
Full Changelog: v1.20.0…v1.21.0
Features
1.20.0 (2024-04-16)
Full Changelog: v1.19.0…v1.20.0
Features
- client: add header OpenAI-Project (#1320) (0c489f1)
- extract chat models to a named enum (#1322) (1ccd9b6)
1.19.0 (2024-04-15)
Full Changelog: v1.18.0…v1.19.0
Features
1.18.0 (2024-04-15)
Full Changelog: v1.17.1…v1.18.0
Features
1.17.1 (2024-04-12)
Full Changelog: v1.17.0…v1.17.1
Chores
1.17.0 (2024-04-10)
Full Changelog: v1.16.2…v1.17.0
Features
- api: add additional messages when creating thread run (#1298) (70eb081)
- client: add DefaultHttpxClient and DefaultAsyncHttpxClient (#1302) (69cdfc3)
- models: add to_dict & to_json helper methods (#1305) (40a881d)
1.16.2 (2024-04-04)
Full Changelog: v1.16.1…v1.16.2
Bug Fixes
1.16.1 (2024-04-02)
Full Changelog: v1.16.0…v1.16.1
Chores
1.16.0 (2024-04-01)
Full Changelog: v1.15.0…v1.16.0
Features
- api: add support for filtering messages by run_id (#1288) (58d6b77)
- api: run polling helpers (#1289) (6b427f3)
Chores
Refactors
- rename createAndStream to stream (6b427f3)
1.15.0 (2024-03-31)
Full Changelog: v1.14.3…v1.15.0
Features
- api: adding temperature parameter (#1282) (0e68fd3)
- client: increase default HTTP max_connections to 1000 and max_keepalive_connections to 100 (#1281) (340d139)
- package: export default constants (#1275) (fdc126e)
Bug Fixes
Chores
Documentation
1.14.3 (2024-03-25)
Full Changelog: v1.14.2…v1.14.3
Bug Fixes
Chores
- internal: construct error properties instead of using the raw response (#1257) (11dce5c)
- internal: formatting change (#1258) (b907dd7)
- internal: loosen input type for util function (#1250) (fc8b4c3)
Documentation
- contributing: fix typo (#1264) (835cb9b)
- readme: consistent use of sentence case in headings (#1255) (519f371)
- readme: document how to make undocumented requests (#1256) (5887858)
1.14.2 (2024-03-19)
Full Changelog: v1.14.1…v1.14.2
Performance Improvements
Chores
Documentation
1.14.1 (2024-03-15)
Full Changelog: v1.14.0…v1.14.1
Documentation
1.14.0 (2024-03-13)
Full Changelog: v1.13.4…v1.14.0
Features
1.13.4 (2024-03-13)
Full Changelog: v1.13.3…v1.13.4
Bug Fixes
Chores
- api: update docs (#1212) (71236e0)
- client: improve error message for invalid http_client argument (#1216) (d0c928a)
- docs: mention install from git repo (#1203) (3ab6f44)
- export NOT_GIVEN sentinel value (#1223) (8a4f76f)
- internal: add core support for deserializing into number response (#1219) (004bc92)
- internal: bump pyright (#1221) (3c2e815)
- internal: improve deserialisation of discriminated unions (#1227) (4767259)
- internal: minor core client restructuring (#1199) (4314cdc)
- internal: split up transforms into sync / async (#1210) (7853a83)
- internal: support more input types (#1211) (d0e4baa)
- internal: support parsing Annotated types (#1222) (8598f81)
- types: include discriminators in unions (#1228) (3ba0dcc)
Documentation
1.13.3 (2024-02-28)
Full Changelog: v1.13.2…v1.13.3
Features
Chores
- client: use anyio.sleep instead of asyncio.sleep (#1198) (b6d025b)
- internal: bump pyright (#1193) (9202e04)
- types: extract run status to a named type (#1178) (249ecbd)
Documentation
- add note in azure_deployment docstring (#1188) (96fa995)
- examples: add pyaudio streaming example (#1194) (3683c5e)
1.13.2 (2024-02-20)
Full Changelog: v1.13.1…v1.13.2
Bug Fixes
1.13.1 (2024-02-20)
Full Changelog: v1.13.0…v1.13.1
Chores
1.13.0 (2024-02-19)
Full Changelog: v1.12.0…v1.13.0
Features
Bug Fixes
Chores
- ci: move github release logic to github app (#1155) (67cfac2)
- client: use correct accept headers for binary data (#1161) (e536437)
- internal: refactor release environment script (#1158) (7fe8ec3)
1.12.0 (2024-02-08)
Full Changelog: v1.11.1…v1.12.0
Features
- api: add
timestamp_granularities, addgpt-3.5-turbo-0125model (#1125) (1ecf8f6) - cli/images: add support for
--modelarg (#1132) (0d53866)
Bug Fixes
- remove double brackets from timestamp_granularities param (#1140) (3db0222)
- types: loosen most List params types to Iterable (#1129) (bdb31a3)
Chores
- internal: add lint command (#1128) (4c021c0)
- internal: support serialising iterable types (#1127) (98d4e59)
Documentation
1.11.1 (2024-02-04)
Full Changelog: v1.11.0…v1.11.1
Bug Fixes
1.11.0 (2024-02-03)
Full Changelog: v1.10.0…v1.11.0
Features
Chores
- interal: make link to api.md relative (#1117) (4a10879)
- internal: cast type in mocked test (#1112) (99b21e1)
- internal: enable ruff type checking misuse lint rule (#1106) (fa63e60)
- internal: support multipart data with overlapping keys (#1104) (455bc9f)
- internal: support pre-release versioning (#1113) (dea5b08)
1.10.0 (2024-01-25)
Full Changelog: v1.9.0…v1.10.0
Features
- api: add text embeddings dimensions param (#1103) (94abfa0)
- azure: proactively add audio/speech to deployment endpoints (#1099) (fdf8742)
- client: enable follow redirects by default (#1100) (d325b7c)
Chores
Refactors
1.9.0 (2024-01-21)
Full Changelog: v1.8.0…v1.9.0
Features
Chores
- internal: fix typing util function (#1083) (3e60db6)
- internal: remove redundant client test (#1085) (947974f)
- internal: share client instances between all tests (#1088) (05cd753)
- internal: speculative retry-after-ms support (#1086) (36a7576)
- lazy load raw resource class properties (#1087) (d307127)
1.8.0 (2024-01-16)
Full Changelog: v1.7.2…v1.8.0
Features
Bug Fixes
- client: ensure path params are non-empty (#1075) (9a25149)
- proxy: prevent recursion errors when debugging pycharm (#1076) (3d78798)
Chores
1.7.2 (2024-01-12)
Full Changelog: v1.7.1…v1.7.2
Documentation
Refactors
1.7.1 (2024-01-10)
Full Changelog: v1.7.0…v1.7.1
Chores
1.7.0 (2024-01-08)
Full Changelog: v1.6.1…v1.7.0
Features
Bug Fixes
Chores
- add .keep files for examples and custom code directories (#1057) (7524097)
- internal: bump license (#1037) (d828527)
- internal: loosen type var restrictions (#1049) (e00876b)
- internal: replace isort with ruff (#1042) (f1fbc9c)
- internal: update formatting (#1041) (2e9ecee)
- src: fix typos (#988) (6a8b806)
- use property declarations for resource members (#1047) (131f6bc)
Documentation
- fix docstring typos (#1022) (ad3fd2c)
- improve audio example to show how to stream to a file (#1017) (d45ed7f)
1.6.1 (2023-12-22)
Full Changelog: v1.6.0…v1.6.1
Chores
- internal: add bin script (#1001) (99ffbda)
- internal: use ruff instead of black for formatting (#1008) (ceaf9a0)
1.6.0 (2023-12-19)
Full Changelog: v1.5.0…v1.6.0
Features
Chores
- cli: fix typo in completions (#985) (d1e9e8f)
- cli: fix typo in completions (#986) (626bc34)
- internal: fix binary response tests (#983) (cfb7e30)
- internal: fix typos (#993) (3b338a4)
- internal: minor utils restructuring (#992) (5ba576a)
- package: bump minimum typing-extensions to 4.7 (#994) (0c2da84)
- streaming: update constructor to use direct client names (#991) (6c3427d)
Documentation
1.5.0 (2023-12-17)
Full Changelog: v1.4.0…v1.5.0
Features
Chores
1.4.0 (2023-12-15)
Full Changelog: v1.3.9…v1.4.0
Features
1.3.9 (2023-12-12)
Full Changelog: v1.3.8…v1.3.9
Documentation
- improve README timeout comment (#964) (3c3ed5e)
- small Improvement in the async chat response code (#959) (fb9d0a3)
- small streaming readme improvements (#962) (f3be2e5)
Refactors
1.3.8 (2023-12-08)
Full Changelog: v1.3.7…v1.3.8
Bug Fixes
- avoid leaking memory when Client.with_options is used (#956) (e37ecca)
- errors: properly assign APIError.body (#949) (c70e194)
- pagination: use correct type hint for .object (#943) (23fe7ee)
Chores
- internal: enable more lint rules (#945) (2c8add6)
- internal: reformat imports (#939) (ec65124)
- internal: reformat imports (#944) (5290639)
- internal: update formatting (#941) (8e5a156)
- package: lift anyio v4 restriction (#927) (be0438a)
Documentation
1.3.7 (2023-12-01)
Full Changelog: v1.3.6…v1.3.7
Bug Fixes
- client: correct base_url setter implementation (#919) (135d9cf)
- client: don’t cause crashes when inspecting the module (#897) (db029a5)
- client: ensure retried requests are closed (#902) (e025e6b)
Chores
- internal: add tests for proxy change (#899) (71a13d0)
- internal: remove unused type var (#915) (4233bcd)
- internal: replace string concatenation with f-strings (#908) (663a8f6)
- internal: replace string concatenation with f-strings (#909) (caab767)
Documentation
1.3.6 (2023-11-28)
Full Changelog: v1.3.5…v1.3.6
Bug Fixes
Chores
- deps: bump mypy to v1.7.1 (#891) (11fcb2a)
- internal: send more detailed x-stainless headers (#877) (69e0549)
- revert binary streaming change (#875) (0a06d6a)
Documentation
- readme: minor updates (#894) (5458457)
- readme: update examples (#893) (124da87)
- update readme code snippet (#890) (c522f21)
1.3.5 (2023-11-21)
Full Changelog: v1.3.4…v1.3.5
Bug Fixes
Chores
- package: add license classifier (#826) (bec004d)
- package: add license classifier metadata (#860) (80dffb1)
1.3.4 (2023-11-21)
Full Changelog: v1.3.3…v1.3.4
Bug Fixes
Chores
1.3.3 (2023-11-17)
Full Changelog: v1.3.2…v1.3.3
Chores
1.3.2 (2023-11-16)
Full Changelog: v1.3.1…v1.3.2
Documentation
1.3.1 (2023-11-16)
Full Changelog: v1.3.0…v1.3.1
Chores
1.3.0 (2023-11-15)
Full Changelog: v1.2.4…v1.3.0
Features
- api: add gpt-3.5-turbo-1106 (#813) (9bb3c4e)
- client: support reading the base url from an env variable (#829) (ca5fdc6)
Bug Fixes
Chores
- fix typo in docs and add request header for function calls (#807) (cbef703)
- internal: fix devcontainer interpeter path (#810) (0acc07d)
Documentation
- add azure env vars (#814) (bd8e32a)
- fix code comment typo (#790) (8407a27)
- readme: fix broken azure_ad notebook link (#781) (3b92cdf)
1.2.4 (2023-11-13)
Full Changelog: v1.2.3…v1.2.4
Bug Fixes
1.2.3 (2023-11-10)
Full Changelog: v1.2.2…v1.2.3
Bug Fixes
- cli/audio: file format detection failing for whisper (#733) (01079d6)
- client: correctly flush the stream response body (#771) (0d52731)
- client: serialise pydantic v1 default fields correctly in params (#776) (d4c49ad)
- models: mark unknown fields as set in pydantic v1 (#772) (ae032a1)
- prevent IndexError in fine-tunes CLI (#768) (42f1633)
Documentation
1.2.2 (2023-11-09)
Full Changelog: v1.2.1…v1.2.2
Bug Fixes
Documentation
1.2.1 (2023-11-09)
Full Changelog: v1.2.0…v1.2.1
Documentation
Refactors
1.2.0 (2023-11-08)
Full Changelog: v1.1.2…v1.2.0
Features
- api: unify function types (#741) (ed16c4d)
- client: support passing chunk size for binary responses (#747) (c0c89b7)
Bug Fixes
- api: update embedding response object type (#739) (29182c4)
- client: show a helpful error message if the v0 API is used (#743) (920567c)
Chores
Refactors
1.1.2 (2023-11-08)
Full Changelog: v1.1.1…v1.1.2
Bug Fixes
- api: accidentally required params, add new models & other fixes (#729) (03c3e03)
- asssitant_deleted -> assistant_deleted (#711) (287b51e)