Skip to content

Latest commit

 

History

History
1376 lines (715 loc) · 76.9 KB

CHANGELOG.md

File metadata and controls

1376 lines (715 loc) · 76.9 KB

Changelog

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

  • cli/migrate: change grit binaries download source (#1649) (85e8935)

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

1.40.5 (2024-08-12)

Full Changelog: v1.40.4...v1.40.5

Documentation

  • helpers: make async client usage more clear (34e1edf), closes #1639

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

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

  • internal: update OpenAPI spec url (#1608) (5392753)
  • internal: update test snapshots (a11d1cb)

1.40.0 (2024-08-06)

Full Changelog: v1.39.0...v1.40.0

Features

  • api: add structured outputs support (e8dba7d)

Chores

1.39.0 (2024-08-05)

Full Changelog: v1.38.0...v1.39.0

Features

  • client: add retries_taken to raw response class (#1601) (777822b)

Bug Fixes

  • assistants: add parallel_tool_calls param to runs.stream (113e82a)

Chores

1.38.0 (2024-08-02)

Full Changelog: v1.37.2...v1.38.0

Features

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

  • cli/audio: handle non-json response format (#1557) (bb7431f)

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

  • internal: minor request options handling changes (#1534) (8b0e493)

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

  • client: always respect content-type multipart/form-data if provided (#1519) (6da55e1)

Chores

1.35.8 (2024-07-02)

Full Changelog: v1.35.7...v1.35.8

Chores

1.35.7 (2024-06-27)

Full Changelog: v1.35.6...v1.35.7

Bug Fixes

  • build: include more files in sdist builds (#1504) (730c1b5)

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

  • client/async: avoid blocking io call for platform headers (#1488) (ae64c05)

1.35.0 (2024-06-18)

Full Changelog: v1.34.0...v1.35.0

Features

  • api: add service tier argument for chat completions (#1486) (b4b4e66)

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

  • api: adding chunking_strategy to polling helpers (#1478) (83be2a1)

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

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

  • add missing all definitions (7fba60f)
  • internal: fix lint issue (f423cd0)

1.30.3 (2024-05-24)

Full Changelog: v1.30.2...v1.30.3

Chores

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

  • internal: add slightly better logging to scripts (#1422) (43dffab)

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

  • client: accidental blocking sleep in async code (#1415) (0ac6ecb)

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

  • readme: fix misleading timeout example value (#1393) (3eba8e7)

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

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

  • internal: use actions/checkout@v4 for codeflow (#1368) (d1edf8b)

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

  • api: correct types for message attachment tools (#1348) (78a6261)

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

  • api: add request id property to response classes (#1341) (444d680)

Documentation

1.22.0 (2024-04-18)

Full Changelog: v1.21.2...v1.22.0

Features

Chores

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

  • api: docs and response_format response property (#1327) (7a6d142)

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

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

  • client: correct logic for line decoding in streaming (#1293) (687caef)

1.16.1 (2024-04-02)

Full Changelog: v1.16.0...v1.16.1

Chores

  • internal: defer model build for import latency (#1291) (bc6866e)

1.16.0 (2024-04-01)

Full Changelog: v1.15.0...v1.16.0

Features

Chores

  • client: validate that max_retries is not None (#1286) (aa5920a)

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

  • project: use absolute github links on PyPi (#1280) (94cd528)

Chores

Documentation

  • readme: change undocumented params wording (#1284) (7498ef1)

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

  • internal: update generated pragma comment (#1247) (3eeb9b3)

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

Documentation

1.13.3 (2024-02-28)

Full Changelog: v1.13.2...v1.13.3

Features

Chores

Documentation

1.13.2 (2024-02-20)

Full Changelog: v1.13.1...v1.13.2

Bug Fixes

  • ci: revert "move github release logic to github app" (#1170) (f1adc2e)

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, add gpt-3.5-turbo-0125 model (#1125) (1ecf8f6)
  • cli/images: add support for --model arg (#1132) (0d53866)

Bug Fixes

  • remove double brackets from timestamp_granularities param (#1140) (3db0222)
  • types: loosen most List params types to Iterable (#1129) (bdb31a3)

Chores

Documentation

1.11.1 (2024-02-04)

Full Changelog: v1.11.0...v1.11.1

Bug Fixes

  • prevent crash when platform.architecture() is not allowed (#1120) (9490554)

1.11.0 (2024-02-03)

Full Changelog: v1.10.0...v1.11.0

Features

  • client: support parsing custom response types (#1111) (da00fc3)

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

  • client: add support for streaming raw responses (#1072) (0e93c3b)

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

  • client: improve debug logging for failed requests (#1060) (cf9a651)

1.7.0 (2024-01-08)

Full Changelog: v1.6.1...v1.7.0

Features

  • add None default value to nullable response properties (#1043) (d94b4d3)

Bug Fixes

  • client: correctly use custom http client auth (#1028) (3d7d93e)

Chores

Documentation

1.6.1 (2023-12-22)

Full Changelog: v1.6.0...v1.6.1

Chores

1.6.0 (2023-12-19)

Full Changelog: v1.5.0...v1.6.0

Features

  • api: add additional instructions for runs (#995) (7bf9b75)

Chores

Documentation

  • upgrade models in examples to latest version (#989) (cedd574)

1.5.0 (2023-12-17)

Full Changelog: v1.4.0...v1.5.0

Features

  • api: add token logprobs to chat completions (#980) (f50e962)

Chores

  • ci: run release workflow once per day (#978) (215476a)

1.4.0 (2023-12-15)

Full Changelog: v1.3.9...v1.4.0

Features

  • api: add optional name argument + improve docs (#972) (7972010)

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

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

  • client: add support for streaming binary responses (#866) (2470d25)

Chores

Documentation

1.3.5 (2023-11-21)

Full Changelog: v1.3.4...v1.3.5

Bug Fixes

  • azure: ensure custom options can be passed to copy (#858) (05ca0d6)

Chores

1.3.4 (2023-11-21)

Full Changelog: v1.3.3...v1.3.4

Bug Fixes

  • client: attempt to parse unknown json content types (#854) (ba50466)

Chores

  • examples: fix static types in assistants example (#852) (5b47b2c)

1.3.3 (2023-11-17)

Full Changelog: v1.3.2...v1.3.3

Chores

  • internal: update type hint for helper function (#846) (9a5966c)

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

  • breaking!: correct broken type names in moderation categories (#811) (0bc211f)

Chores

  • fix typo in docs and add request header for function calls (#807) (cbef703)
  • internal: fix devcontainer interpeter path (#810) (0acc07d)

Documentation

1.2.4 (2023-11-13)

Full Changelog: v1.2.3...v1.2.4

Bug Fixes

  • client: retry if SSLWantReadError occurs in the async client (#804) (be82288)

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

  • client: correctly assign error properties (#759) (ef264d2)

Documentation

1.2.1 (2023-11-09)

Full Changelog: v1.2.0...v1.2.1

Documentation

Refactors

  • client: deprecate files.retrieve_content in favour of files.content (#753) (eea5bc1)

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

  • internal: improve github devcontainer setup (#737) (0ac1abb)

Refactors

  • api: rename FunctionObject to FunctionDefinition (#746) (1afd138)

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)

Chores