Full Changelog: v4.76.2...v4.76.3
- internal: better ecosystem test debugging (86fc0a8)
Full Changelog: v4.76.1...v4.76.2
- internal: update isAbsoluteURL (#1223) (e908ed7)
- types: nicer error class types + jsdocs (#1219) (576d24c)
Full Changelog: v4.76.0...v4.76.1
- internal: bump cross-spawn to v7.0.6 (#1217) (c07ad29)
- internal: remove unnecessary getRequestClient function (#1215) (bef3925)
Full Changelog: v4.75.0...v4.76.0
Full Changelog: v4.74.0...v4.75.0
Full Changelog: v4.73.1...v4.74.0
Full Changelog: v4.73.0...v4.73.1
Full Changelog: v4.72.0...v4.73.0
- api: add gpt-4o-2024-11-20 model (#1201) (0feeafd)
- bump model in all example snippets to gpt-4o (6961c37)
- client: drop unused devDependency (#1191) (8ee6c03)
- internal: spec update (#1195) (12f9334)
- internal: use reexports not destructuring (#1181) (f555dd6)
- bump models in example snippets to gpt-4o (#1184) (4ec4027)
- change readme title (#1198) (e34981c)
- improve jsr documentation (#1197) (ebdb4f7)
- readme: fix incorrect fileBatches.uploadAndPoll params (#1200) (3968ef1)
Full Changelog: v4.71.1...v4.72.0
- add back deno runtime testing without type checks (1626cf5)
Full Changelog: v4.71.0...v4.71.1
Full Changelog: v4.70.3...v4.71.0
Full Changelog: v4.70.2...v4.70.3
- change streaming helper imports to be relative (e73b7cf)
Full Changelog: v4.70.1...v4.70.2
Full Changelog: v4.70.0...v4.70.1
Full Changelog: v4.69.0...v4.70.0
- internal: fix isolated modules exports (9cd1958)
Full Changelog: v4.68.4...v4.69.0
Full Changelog: v4.68.3...v4.68.4
Full Changelog: v4.68.2...v4.68.3
Full Changelog: v4.68.1...v4.68.2
Full Changelog: v4.68.0...v4.68.1
Full Changelog: v4.67.3...v4.68.0
Full Changelog: v4.67.2...v4.67.3
Full Changelog: v4.67.1...v4.67.2
Full Changelog: v4.67.0...v4.67.1
Full Changelog: v4.66.1...v4.67.0
- api: support storing chat completions, enabling evals and model distillation in the dashboard (#1112) (6424924)
Full Changelog: v4.66.0...v4.66.1
Full Changelog: v4.65.0...v4.66.0
- audio: correct types for transcriptions / translations (#1104) (96e86c2)
- client: correct types for transcriptions / translations (#1105) (fa16ebb)
Full Changelog: v4.64.0...v4.65.0
Full Changelog: v4.63.0...v4.64.0
- internal: fix ecosystem tests error output (#1096) (ecdb4e9)
- internal: fix slow ecosystem test (#1093) (80ed9ec)
Full Changelog: v4.62.1...v4.63.0
Full Changelog: v4.62.0...v4.62.1
Full Changelog: v4.61.1...v4.62.0
- internal: add ecosystem test for qs reproduction (0199dd8)
- internal: add query string encoder (#1079) (f870682)
- internal: fix some types (#1082) (1ec41a7)
- tests: add query string tests to ecosystem tests (36be724)
Full Changelog: v4.61.0...v4.61.1
Full Changelog: v4.60.1...v4.61.0
- client: partial parsing update to handle strings (46e8eb6)
- examples: handle usage chunk in tool call streaming (#1068) (e4188c4)
- examples: add a small delay to tool-calls example streaming (a3fc659)
Full Changelog: v4.60.0...v4.60.1
Full Changelog: v4.59.0...v4.60.0
Full Changelog: v4.58.2...v4.59.0
- azure: example for custom base URL (#1055) (20defc8)
- azure: remove locale from docs link (#1054) (f9b7eac)
Full Changelog: v4.58.1...v4.58.2
Full Changelog: v4.58.0...v4.58.1
Full Changelog: v4.57.3...v4.58.0
Full Changelog: v4.57.2...v4.57.3
Full Changelog: v4.57.1...v4.57.2
Full Changelog: v4.57.0...v4.57.1
- assistants: correctly accumulate tool calls when streaming (#1031) (d935ad3)
- client: correct File construction from node-fetch Responses (#1029) (22ebdc2)
- runTools without stream should not emit user message events (#1005) (22ded4d)
- internal/tests: workaround bug in recent types/node release (3c7bdfd)
Full Changelog: v4.56.2...v4.57.0
Full Changelog: v4.56.1...v4.56.2
Full Changelog: v4.56.0...v4.56.1
Full Changelog: v4.55.9...v4.56.0
- api: add chatgpt-4o-latest model (edc4398)
Full Changelog: v4.55.8...v4.55.9
Full Changelog: v4.55.7...v4.55.8
Full Changelog: v4.55.6...v4.55.7
Full Changelog: v4.55.5...v4.55.6
Full Changelog: v4.55.4...v4.55.5
Full Changelog: v4.55.3...v4.55.4
Full Changelog: v4.55.2...v4.55.3
Full Changelog: v4.55.1...v4.55.2
- helpers/zod: add
extract-to-root
ref strategy (ef3c73c) - helpers/zod: add
nullableStrategy
option (ad89892) - helpers/zod: correct logic for adding root schema to definitions (e4a247a)
- internal: add README for vendored zod-to-json-schema (d8a80a9)
- tests: add more API request tests (04c1590)
Full Changelog: v4.55.0...v4.55.1
- helpers/zod: correct schema generation for recursive schemas (cb54d93)
- api: remove old
AssistantResponseFormat
type (#967) (9fd94bf) - internal: update test snapshots (bceea60)
- vendor/zodJsonSchema: add option to duplicate top-level ref (84b8a38)
- examples: add UI generation example script (c75c017)
Full Changelog: v4.54.0...v4.55.0
- api: add structured outputs support (573787c)
Full Changelog: v4.53.2...v4.54.0
- extract out
ImageModel
,AudioModel
,SpeechModel
(#964) (1edf957) - make enums not nominal (#965) (0dd0cd1)
- ci: correctly tag pre-release npm packages (#963) (f1a4a68)
- internal: add constant for default timeout (#960) (55c01f4)
- internal: cleanup event stream helpers (#950) (8f49956)
Full Changelog: v4.53.1...v4.53.2
Full Changelog: v4.53.0...v4.53.1
Full Changelog: v4.52.7...v4.53.0
- docs: mention support of web browser runtimes (#938) (123d19d)
- docs: use client instead of package name in Node examples (#941) (8b5db1f)
Full Changelog: v4.52.6...v4.52.7
Full Changelog: v4.52.5...v4.52.6
Full Changelog: v4.52.4...v4.52.5
Full Changelog: v4.52.3...v4.52.4
Full Changelog: v4.52.2...v4.52.3
Full Changelog: v4.52.1...v4.52.2
Full Changelog: v4.52.0...v4.52.1
- doc: clarify service tier default value (#908) (e4c8100)
- internal: minor reformatting (#911) (78c9377)
- internal: re-order some imports (#904) (dbd5c40)
Full Changelog: v4.51.0...v4.52.0
Full Changelog: v4.50.0...v4.51.0
Full Changelog: v4.49.1...v4.50.0
Full Changelog: v4.49.0...v4.49.1
Full Changelog: v4.48.3...v4.49.0
Full Changelog: v4.48.2...v4.48.3
Full Changelog: v4.48.1...v4.48.2
Full Changelog: v4.48.0...v4.48.1
- resolve typescript issue (1129707)
Full Changelog: v4.47.3...v4.48.0
Full Changelog: v4.47.2...v4.47.3
Full Changelog: v4.47.1...v4.47.2
Full Changelog: v4.47.0...v4.47.1
Full Changelog: v4.46.1...v4.47.0
Full Changelog: v4.46.0...v4.46.1
Full Changelog: v4.45.0...v4.46.0
Full Changelog: v4.44.0...v4.45.0
Full Changelog: v4.43.0...v4.44.0
Full Changelog: v4.42.0...v4.43.0
Full Changelog: v4.41.1...v4.42.0
Full Changelog: v4.41.0...v4.41.1
Full Changelog: v4.40.2...v4.41.0
Full Changelog: v4.40.1...v4.40.2
- package: revert recent client file change (#819) (fa722c9)
- vectorStores: correct uploadAndPoll method (#817) (d63f22c)
Full Changelog: v4.40.0...v4.40.1
- internal: bump prism version (#813) (81a6c28)
- internal: move client class to separate file (#815) (d0b915a)
Full Changelog: v4.39.1...v4.40.0
Full Changelog: v4.39.0...v4.39.1
- internal: add link to openapi spec (#810) (61b5b83)
- internal: fix release please for deno (#808) (ecc2eae)
- internal: refactor scripts (#806) (9283519)
Full Changelog: v4.38.5...v4.39.0
Full Changelog: v4.38.4...v4.38.5
Full Changelog: v4.38.3...v4.38.4
Full Changelog: v4.38.2...v4.38.3
Full Changelog: v4.38.1...v4.38.2
Full Changelog: v4.38.0...v4.38.1
Full Changelog: v4.37.1...v4.38.0
Full Changelog: v4.37.0...v4.37.1
Full Changelog: v4.36.0...v4.37.0
Full Changelog: v4.35.0...v4.36.0
- client: add header OpenAI-Project (#772) (bb4df37)
- extract chat models to a named enum (#775) (141d2ed)
Full Changelog: v4.34.0...v4.35.0
Full Changelog: v4.33.1...v4.34.0
Full Changelog: v4.33.0...v4.33.1
Full Changelog: v4.32.2...v4.33.0
Full Changelog: v4.32.1...v4.32.2
- streaming: handle special line characters and fix multi-byte character decoding (#757) (8dcdda2)
- tests: update wrangler to v3.19.0 (CVE-2023-7080) (#755) (47ca41d)
Full Changelog: v4.32.0...v4.32.1
Full Changelog: v4.31.0...v4.32.0
- api: add support for filtering messages by run_id (#747) (9a397ac)
- api: run polling helpers (#749) (02920ae)
- rename createAndStream to stream (02920ae)
Full Changelog: v4.30.0...v4.31.0
Full Changelog: v4.29.2...v4.30.0
- client: correctly send deno version header (#736) (b7ea175)
- example: correcting example (#739) (a819551)
- handle process.env being undefined in debug func (#733) (2baa149)
- internal: make toFile use input file's options (#727) (15880d7)
- readme: consistent use of sentence case in headings (#729) (7e515fd)
- readme: document how to make undocumented requests (#730) (a06d861)
Full Changelog: v4.29.1...v4.29.2
Full Changelog: v4.29.0...v4.29.1
Full Changelog: v4.28.5...v4.29.0
Full Changelog: v4.28.4...v4.28.5
- ChatCompletionStream: abort on async iterator break and handle errors (#699) (ac417a2)
- streaming: correctly handle trailing new lines in byte chunks (#708) (4753be2)
- api: update docs (#703) (e1db98b)
- docs: mention install from git repo (#700) (c081bdb)
- fix error handler in readme (#704) (4ff790a)
- internal: add explicit type annotation to decoder (#712) (d728e99)
- types: fix accidental exposure of Buffer type to cloudflare (#709) (0323ecb)
- contributing: improve wording (#696) (940d569)
- readme: fix https proxy example (#705) (d144789)
- readme: fix typo in custom fetch implementation (#698) (64041fd)
- remove extraneous --save and yarn install instructions (#710) (8ec216d)
- use @deprecated decorator for deprecated params (#711) (4688ef4)
Full Changelog: v4.28.3...v4.28.4
- ci: update actions/setup-node action to v4 (#685) (f2704d5)
- internal: fix ecosystem tests (#693) (616624d)
- types: extract run status to a named type (#686) (b3b3b8e)
- update @types/react to 18.2.58, @types/react-dom to 18.2.19 (#688) (2a0d0b1)
- update dependency @types/node to v20.11.20 (#690) (4ca005b)
- update dependency @types/ws to v8.5.10 (#683) (a617268)
- update dependency next to v13.5.6 (#689) (abb3b66)
Full Changelog: v4.28.2...v4.28.3
Full Changelog: v4.28.1...v4.28.2
Full Changelog: v4.28.0...v4.28.1
- ci: move github release logic to github app (#671) (ecca6bc)
- internal: refactor release environment script (#674) (27d3770)
Full Changelog: v4.27.1...v4.28.0
Full Changelog: v4.27.0...v4.27.1
Full Changelog: v4.26.1...v4.27.0
- internal: fix retry mechanism for ecosystem-test (#663) (0eb7ed5)
- respect
application/vnd.api+json
content-type header (#664) (f4fad54)
Full Changelog: v4.26.0...v4.26.1
- internal: enable building when git installed (#657) (8c80a7d)
- internal: re-order pagination import (#656) (21ae54e)
- internal: support pre-release versioning (#653) (0c3859f)
- test: add delay between ecosystem tests retry (#651) (6a4cc5c)
Full Changelog: v4.25.0...v4.26.0
- internal: add internal helpers & improve build scripts (#643) (9392f50)
- internal: adjust ecosystem-tests logging in CI (#646) (156084b)
- internal: don't re-export streaming type (#648) (4c4be94)
- internal: fix binary files (#645) (e1fbc39)
- internal: minor streaming updates (#647) (2f073e4)
- internal: pin deno version (#649) (7e4b903)
Full Changelog: v4.24.7...v4.25.0
- allow body type in RequestOptions to be null (#637) (c4f8a36)
- handle system_fingerprint in streaming helpers (#636) (f273530)
- types: accept undefined for optional client options (#635) (e48cd57)
- internal: debug logging for retries; speculative retry-after-ms support (#633) (fd64971)
- internal: update comment (#631) (e109d40)
Full Changelog: v4.24.6...v4.24.7
- ecosystem-tests: fix flaky vercel-edge, cloudflare-worker, and deno tests (#626) (ae412a5)
- ecosystem-tests: fix typo in deno test (#628) (048ec94)
Full Changelog: v4.24.5...v4.24.6
- ecosystem-tests: fix flaky tests and remove fine tuning calls (#623) (258d79f)
- ecosystem-tests: fix flaky tests and remove fine tuning calls (#625) (58e5fd8)
Full Changelog: v4.24.4...v4.24.5
Full Changelog: v4.24.3...v4.24.4
Full Changelog: v4.24.2...v4.24.3
Full Changelog: v4.24.1...v4.24.2
- headers: always send lowercase headers and strip undefined (BREAKING in rare cases) (#608) (4ea159f)
- add .keep files for examples and custom code directories (#612) (5e0f733)
- internal: bump license (#605) (045ee74)
- internal: improve type signatures (#609) (e1ccc82)
- fix docstring typos (#600) (1934fa1)
- improve audio example to show how to stream to a file (#598) (e950ad9)
Full Changelog: v4.24.0...v4.24.1
- messages: improvements to helpers reference + typos (#595) (96a59b9)
- reformat README.md (#592) (8ffc7f8)
Full Changelog: v4.23.0...v4.24.0
- deps: update dependency start-server-and-test to v2.0.3 (#580) (8e1aca1)
- deps: update dependency ts-jest to v29.1.1 (#578) (a6edb7b)
- deps: update jest (#582) (e49e471)
- internal: bump deps (#583) (2e07b4c)
- internal: update deps (#581) (7b690dc)
Full Changelog: v4.22.1...v4.23.0
Full Changelog: v4.22.0...v4.22.1
Full Changelog: v4.21.0...v4.22.0
Full Changelog: v4.20.1...v4.21.0
- correct some runTools behavior and deprecate runFunctions (#562) (f5cdd0f)
- prevent 400 when using runTools/runFunctions with Azure OpenAI API (#544) (735d9b8)
Full Changelog: v4.20.0...v4.20.1
Full Changelog: v4.19.1...v4.20.0
Full Changelog: v4.19.0...v4.19.1
Full Changelog: v4.18.0...v4.19.0
Full Changelog: v4.17.5...v4.18.0
Full Changelog: v4.17.4...v4.17.5
Full Changelog: v4.17.3...v4.17.4
Full Changelog: v4.17.2...v4.17.3
Full Changelog: v4.17.1...v4.17.2
Full Changelog: v4.17.0...v4.17.1
Full Changelog: v4.16.2...v4.17.0
Full Changelog: v4.16.1...v4.16.2
- api: accidentally required params, add new models & other fixes (#463) (1cb403e)
- api: update embedding response object type (#466) (53b7e25)
- asssitant_deleted -> assistant_deleted (#452) (ef89bd7)
- types: ensure all code paths return a value (#458) (19402c3)
Full Changelog: v4.16.0...v4.16.1
Full Changelog: v4.15.4...v4.16.0
- api: releases from DevDay; assistants, multimodality, tools, dall-e-3, tts, and more (#433) (fb92f5e)
Full Changelog: v4.15.3...v4.15.4
Full Changelog: v4.15.2...v4.15.3
Full Changelog: v4.15.1...v4.15.2
Full Changelog: v4.15.0...v4.15.1
Full Changelog: v4.14.2...v4.15.0
- beta: add streaming and function calling helpers (#409) (510c1f3)
- client: allow binary returns (#416) (02f7ad7)
- github: include a devcontainer setup (#413) (fb2996f)
- streaming improvements (#411) (37b622c)
Full Changelog: v4.14.1...v4.14.2
Full Changelog: v4.14.0...v4.14.1
- deploy deno in a github workflow instead of postpublish step (#405) (3a6dba0)
- typo in build script (#403) (76c5c96)
Full Changelog: v4.13.0...v4.14.0
Full Changelog: v4.12.4...v4.13.0
- api: add embeddings encoding_format (#390) (cf70dea)
- handle 204 No Content gracefully (#391) (2dd005c)
Full Changelog: v4.12.3...v4.12.4
Full Changelog: v4.12.2...v4.12.3
Full Changelog: v4.12.1...v4.12.2
- client: correctly handle errors during streaming (#377) (09233b1)
- client: correctly handle errors during streaming (#379) (9ced580)
- improve status code in error messages (#381) (68dfb17)
- add case insensitive get header function (#373) (b088998)
- internal: add debug logs for stream responses (#380) (689db0b)
- show deprecation notice on re-export (#368) (b176703)
- update comment (#376) (a06c685)
- update comment (#378) (b04031d)
- streaming: change Stream constructor signature (#370) (71984ed)
- test: refactor authentication tests (#371) (e0d459f)
Full Changelog: v4.12.0...v4.12.1
Full Changelog: v4.11.1...v4.12.0
- api: remove
content_filter
stop_reason and update documentation (#352) (a4b401e) - re-export chat completion types at the top level, and work around webpack limitations (#365) (bb815d0)
Full Changelog: v4.11.0...v4.11.1
Full Changelog: v4.10.0...v4.11.0
- client: handle retry-after with a date (#340) (b6dd384)
- package: export a root error type (#338) (462bcda)
- internal: bump lock file (#334) (fd2337b)
- internal: update lock file (#339) (1bf84b6)
- internal: update lock file (#342) (0001f06)
- internal: update lock file (#343) (a02ac8e)
Full Changelog: v4.9.1...v4.10.0
Full Changelog: v4.9.1...v4.10.0
Full Changelog: v4.9.0...v4.9.1
Full Changelog: v4.8.0...v4.9.0
Full Changelog: v4.7.1...v4.8.0
Full Changelog: v4.7.0...v4.7.1
Full Changelog: v4.6.0...v4.7.0
- client: retry on 408 Request Timeout (#310) (1f98eac)
- make docs urls in comments absolute (#306) (9db3819)
Full Changelog: v4.5.0...v4.6.0
Full Changelog: v4.4.0...v4.5.0
- client: add files.waitForProcessing() method (#292) (ef59010)
- fixes tests where an array has to have unique enum values (#290) (a10b895)
- make docs more readable by eliminating unnecessary escape sequences (#287) (a068043)
- client: fix TS errors that appear when users Go to Source in VSCode (#281) (8dc59bc), closes #249
- client: handle case where the client is instantiated with a undefined baseURL (#285) (5095cf3)
- client: use explicit file extensions in _shims imports (#276) (16fe929)
Full Changelog: v4.3.1...v4.4.0
- package: add Bun export map (#269) (16f239c)
- re-export chat completion types at the top level (#268) (1a71a39)
- tests: unskip multipart form data tests (#275) (47d3e18)
- types: fix ambiguous auto-import for chat completions params (#266) (19c99fb)
Full Changelog: v4.3.0...v4.3.1
4.3.0 (2023-08-27)
- client: add auto-pagination to fine tuning list endpoints (#254) (5f89c5e)
- cli: rewrite in JS for better compatibility (#244) (d8d7c05)