UNPKG

sambanova

Version:

The official TypeScript library for the Samba Nova API

169 lines (113 loc) 13.1 kB
# Changelog ## 1.2.0 (2025-11-07) Full Changelog: [v1.1.6...v1.2.0](https://github.com/sambanova/sambanova-typescript/compare/v1.1.6...v1.2.0) ### Features * **api:** add completions support ([cc1fdda](https://github.com/sambanova/sambanova-typescript/commit/cc1fddaa6a23ea576473dec36557462fee196108)) ## 1.1.6 (2025-11-07) Full Changelog: [v1.1.5...v1.1.6](https://github.com/sambanova/sambanova-typescript/compare/v1.1.5...v1.1.6) ### Bug Fixes * **api:** add missing chat_template_kwargs chat completions argument ([b60a15e](https://github.com/sambanova/sambanova-typescript/commit/b60a15eb86108dc73356406d458d92b2136b659a)) * **api:** update deafault models ([0575914](https://github.com/sambanova/sambanova-typescript/commit/05759142c73b04499e2dbcbff71160cc3408a4d2)) ## 1.1.5 (2025-10-24) Full Changelog: [v1.1.4...v1.1.5](https://github.com/sambanova/sambanova-typescript/compare/v1.1.4...v1.1.5) ### Bug Fixes * **api:** increase default timeouts ([5c4867e](https://github.com/sambanova/sambanova-typescript/commit/5c4867ebbb046c84161bc6520c9eeb72174be23f)) ## 1.1.4 (2025-10-09) Full Changelog: [v1.1.3...v1.1.4](https://github.com/sambanova/sambanova-typescript/compare/v1.1.3...v1.1.4) ### Bug Fixes * **api:** embeddings summary ([5bada3c](https://github.com/sambanova/sambanova-typescript/commit/5bada3c711e4250b054417e67877d62aedb36412)) ## 1.1.3 (2025-10-06) Full Changelog: [v1.1.2...v1.1.3](https://github.com/sambanova/sambanova-typescript/compare/v1.1.2...v1.1.3) ### Chores * **internal:** use npm pack for build uploads ([3abe37a](https://github.com/sambanova/sambanova-typescript/commit/3abe37a57ffcbd2499661770b6e485c032f218de)) * **jsdoc:** fix [@link](https://github.com/link) annotations to refer only to parts of the package‘s public interface ([6aea350](https://github.com/sambanova/sambanova-typescript/commit/6aea3504f92483caed38f1dfbc50cf83c25784c0)) ## 1.1.2 (2025-10-02) Full Changelog: [v1.1.1...v1.1.2](https://github.com/sambanova/sambanova-typescript/compare/v1.1.1...v1.1.2) ### Chores * **internal:** remove .eslintcache ([ff13f78](https://github.com/sambanova/sambanova-typescript/commit/ff13f78891917f1df1089d35bc5f706166d74583)) ## 1.1.1 (2025-09-27) Full Changelog: [v1.1.0...v1.1.1](https://github.com/sambanova/sambanova-typescript/compare/v1.1.0...v1.1.1) ### Features * **api:** fix delta dict structure ([a39d4ec](https://github.com/sambanova/sambanova-typescript/commit/a39d4ec9360b700b0a4904cb67b3b724380e189f)) * **api:** fix delta object type for chat completions ([8b60409](https://github.com/sambanova/sambanova-typescript/commit/8b604096a9ef9c8bf4dab5504424c10a665d7f88)) * **api:** fix streaming event models ([7aef6f9](https://github.com/sambanova/sambanova-typescript/commit/7aef6f926b0ed463a7552bb6da6ca37177c2965e)) * **api:** keep additional properties for streaming and pricing object ([e5aa28f](https://github.com/sambanova/sambanova-typescript/commit/e5aa28fb6be7ffced0925d2c95179dc2b7ef6b48)) * **api:** update prod-url ([0bb9a5e](https://github.com/sambanova/sambanova-typescript/commit/0bb9a5e0fb4c4f92ace61d84e99cfbfb3a2ff8f8)) ### Performance Improvements * faster formatting ([e858ef4](https://github.com/sambanova/sambanova-typescript/commit/e858ef48c1eda6f928f6306a57cc0e2913d07e12)) ### Chores * **internal:** codegen related update ([01c92c9](https://github.com/sambanova/sambanova-typescript/commit/01c92c976c691f368bedb431d18efec795fe4acc)) * **internal:** fix incremental formatting in some cases ([013c24d](https://github.com/sambanova/sambanova-typescript/commit/013c24da0bea091eb1ff8045c56a590e39ee8067)) * **internal:** ignore .eslintcache ([b815a91](https://github.com/sambanova/sambanova-typescript/commit/b815a9108e49c259f8ba26cc2f860353f25e9001)) * **internal:** remove deprecated `compilerOptions.baseUrl` from tsconfig.json ([4f1e4e0](https://github.com/sambanova/sambanova-typescript/commit/4f1e4e0df77817161202d4bfc6e918cb8846ea6d)) ## 1.1.0 (2025-09-22) Full Changelog: [v0.1.0-alpha.2...v1.1.0](https://github.com/sambanova/sambanova-typescript/compare/v0.1.0-alpha.2...v1.1.0) ### Chores * **internal:** trigger CI ([a56b6d8](https://github.com/sambanova/sambanova-typescript/commit/a56b6d80c336553c50b7dbde0365e24c11e84340)) ## 0.1.0-alpha.2 (2025-09-19) Full Changelog: [v0.1.0-alpha.1...v0.1.0-alpha.2](https://github.com/sambanova/sambanova-typescript/compare/v0.1.0-alpha.1...v0.1.0-alpha.2) ### Features * **api:** add reasoning and channel param to messages delta ([74b38f6](https://github.com/sambanova/sambanova-typescript/commit/74b38f6450f82d75763ac519e31c80394a8302ca)) * **api:** manual updates ([ea47138](https://github.com/sambanova/sambanova-typescript/commit/ea47138d1e2f721eade16f26bd2ca883451368c5)) ### Chores * do not install brew dependencies in ./scripts/bootstrap by default ([23d7e93](https://github.com/sambanova/sambanova-typescript/commit/23d7e930073e91cc27e590d78ca7c0fb587f609f)) ## 0.1.0-alpha.1 (2025-09-17) Full Changelog: [v0.0.1-alpha.0...v0.1.0-alpha.1](https://github.com/sambanova/sambanova-typescript/compare/v0.0.1-alpha.0...v0.1.0-alpha.1) ### Features * **api:** change node to typescript ([65f38a4](https://github.com/sambanova/sambanova-typescript/commit/65f38a498edc96afc7f062543ffe80718402e772)) * **api:** manual updates ([a5debc1](https://github.com/sambanova/sambanova-typescript/commit/a5debc1036051eba0ad1e763656fb460a2c24f3e)) * **api:** manual updates ([063506b](https://github.com/sambanova/sambanova-typescript/commit/063506b492278c82cb6260dba55d7dd1feda5526)) * **api:** manual updates ([0bd1ddc](https://github.com/sambanova/sambanova-typescript/commit/0bd1ddca00ccfee73261165a21afcfd9488a8a77)) * **api:** manual updates ([52652b7](https://github.com/sambanova/sambanova-typescript/commit/52652b7df69b07a592f22fcb46b2c3e88a56d48e)) * **api:** manual updates ([3570643](https://github.com/sambanova/sambanova-typescript/commit/3570643f7dec77deb2665b4b074ca9ba54038cfd)) * **api:** manual updates ([b7ad47e](https://github.com/sambanova/sambanova-typescript/commit/b7ad47e3135bf166e43f4276329a6623998d8714)) * **api:** open api spec updates ([22b4fd7](https://github.com/sambanova/sambanova-typescript/commit/22b4fd76e58606e04b23b8291fe01b933aec566c)) * **api:** update via SDK Studio ([2cde438](https://github.com/sambanova/sambanova-typescript/commit/2cde438d65cce85e597096483c11ae89c9d04760)) * **api:** update via SDK Studio ([a6bcc3e](https://github.com/sambanova/sambanova-typescript/commit/a6bcc3e9999781469cfc1f292c259814ad85776a)) * **api:** update via SDK Studio ([8e8cd0a](https://github.com/sambanova/sambanova-typescript/commit/8e8cd0a9dfdd4a8f28d81848364bd394843882f3)) * **api:** update via SDK Studio ([c90ff23](https://github.com/sambanova/sambanova-typescript/commit/c90ff23203c22050ddaea3e4d1f5f943f553371c)) * **api:** update via SDK Studio ([b1a10f3](https://github.com/sambanova/sambanova-typescript/commit/b1a10f346696e2566a453707e1fc846394c984d2)) * **api:** update via SDK Studio ([1708317](https://github.com/sambanova/sambanova-typescript/commit/1708317ca1b79856f892d1c122d7757a7ae918d5)) * **api:** update via SDK Studio ([90ad3d6](https://github.com/sambanova/sambanova-typescript/commit/90ad3d6e4c3029cc51aa35c6509965bfada1e928)) * **api:** update via SDK Studio ([9ec5527](https://github.com/sambanova/sambanova-typescript/commit/9ec5527e95628e801444e3ed7aca592ed7dc43ed)) * **api:** update via SDK Studio ([50357fe](https://github.com/sambanova/sambanova-typescript/commit/50357fe27766dbed42ef5d04cdf1c24976c96143)) * **api:** update via SDK Studio ([c188700](https://github.com/sambanova/sambanova-typescript/commit/c188700119763895ef7f26d517aee9e566f744f6)) * **api:** update via SDK Studio ([96ebfc9](https://github.com/sambanova/sambanova-typescript/commit/96ebfc987a5b720ed7ef884b55a0611df43b7257)) * **api:** update via SDK Studio ([33e17ed](https://github.com/sambanova/sambanova-typescript/commit/33e17ed538e957660c7f3f25f1277b8908ffaa29)) * **api:** update via SDK Studio ([30b0999](https://github.com/sambanova/sambanova-typescript/commit/30b0999020fb69bcc8600a90e190bf9545ca9048)) * **api:** update via SDK Studio ([d3bdd93](https://github.com/sambanova/sambanova-typescript/commit/d3bdd935d2bef835e1c4099b3522ef8ce8f08cfe)) * **api:** update via SDK Studio ([ac244fb](https://github.com/sambanova/sambanova-typescript/commit/ac244fb839d7d221c616f679869fbfd668cab50c)) * **api:** update via SDK Studio ([6ae4370](https://github.com/sambanova/sambanova-typescript/commit/6ae43702b5a7f608f63cab514621cea02da4f549)) * **api:** update via SDK Studio ([5aeaf0d](https://github.com/sambanova/sambanova-typescript/commit/5aeaf0d1ae3b4001145cb283af964054eb6ecd85)) * **api:** update via SDK Studio ([e2f6059](https://github.com/sambanova/sambanova-typescript/commit/e2f60596a1d9131406d801facb72b485e914ae21)) * **api:** update via SDK Studio ([5ac957a](https://github.com/sambanova/sambanova-typescript/commit/5ac957aa59418563dbc292ebba7b84ed07c0cff3)) * **api:** update via SDK Studio ([890a0d6](https://github.com/sambanova/sambanova-typescript/commit/890a0d6cbdfc982e200c66d117a05f679d3f739f)) * **api:** update via SDK Studio ([8cfb1e2](https://github.com/sambanova/sambanova-typescript/commit/8cfb1e218e710bc5328f63534eba56055e7d5fac)) * **api:** update via SDK Studio ([13b5796](https://github.com/sambanova/sambanova-typescript/commit/13b5796d375fc5c8d9ae4eb57a335a701be18c2d)) * **api:** update via SDK Studio ([feecd7e](https://github.com/sambanova/sambanova-typescript/commit/feecd7e5403dab2e49e37a76c417fbd2a5861a61)) * **api:** update via SDK Studio ([d390387](https://github.com/sambanova/sambanova-typescript/commit/d390387c03a007d4416e6e3bdeda40acb6e63d1a)) * **api:** update via SDK Studio ([461580a](https://github.com/sambanova/sambanova-typescript/commit/461580a6c8dfac021ebc29e3eb1e80cc7f6c9dad)) * **api:** update via SDK Studio ([4a27f90](https://github.com/sambanova/sambanova-typescript/commit/4a27f9093919f0481487ba2f9dd988cab5fde960)) * **api:** update via SDK Studio ([34cab94](https://github.com/sambanova/sambanova-typescript/commit/34cab94b01211d6649e6dd38bc39931bff86ba75)) * **api:** update via SDK Studio ([c52bdd2](https://github.com/sambanova/sambanova-typescript/commit/c52bdd2f755e1b5d481b1f87f315a7308101073e)) * **api:** update via SDK Studio ([7b5ae2b](https://github.com/sambanova/sambanova-typescript/commit/7b5ae2b30bc04a9f7ef24d2a0edbb56cba8ba255)) * **api:** update via SDK Studio ([8f4c8ad](https://github.com/sambanova/sambanova-typescript/commit/8f4c8adbc86905acf198ed1bc1987ea923d05f27)) * **api:** update via SDK Studio ([29cb183](https://github.com/sambanova/sambanova-typescript/commit/29cb183b3363b39d3328244774b5d88f8c8b9d6f)) * **api:** update via SDK Studio ([6fe3222](https://github.com/sambanova/sambanova-typescript/commit/6fe3222cc8f5125091e09b68ea20044203c9bc5d)) * **client:** send `X-Stainless-Timeout` header ([3356bcd](https://github.com/sambanova/sambanova-typescript/commit/3356bcda4a8b48b93a9c270cb3d55d2a6de3352c)) ### Bug Fixes * **client:** fix export map for index exports ([019d76e](https://github.com/sambanova/sambanova-typescript/commit/019d76ed72babae670ee7e16b41e4446850533ca)) * coerce nullable values to undefined ([99b41e3](https://github.com/sambanova/sambanova-typescript/commit/99b41e37f84fbaca88406c2b25f02b00ecff4aaf)) * correctly decode multi-byte characters over multiple chunks ([84a1c55](https://github.com/sambanova/sambanova-typescript/commit/84a1c55a4c7b9b4f00f5d50b8fee01e4661ee9e6)) * optimize sse chunk reading off-by-one error ([63e2b96](https://github.com/sambanova/sambanova-typescript/commit/63e2b96eea89770ea708c3f15926ef5321daae28)) ### Chores * ci build action ([41974e0](https://github.com/sambanova/sambanova-typescript/commit/41974e08c27dcc8b044a948116c4463e400098c3)) * configure new SDK language ([594ae96](https://github.com/sambanova/sambanova-typescript/commit/594ae96165712a4324c1b07e9c864d1787a7eb3b)) * **deps:** update dependency node-fetch to v2.6.13 ([f321923](https://github.com/sambanova/sambanova-typescript/commit/f321923061fa48292c5eb312799809bcbdfe1499)) * **internal:** codegen related update ([930fc13](https://github.com/sambanova/sambanova-typescript/commit/930fc1348b82152b9180b43809bc61e3e5cef49e)) * **internal:** fix devcontainers setup ([c25665f](https://github.com/sambanova/sambanova-typescript/commit/c25665fe98f491ed51c8f643a471e349fbfa9417)) * **internal:** formatting change ([3aa3f8a](https://github.com/sambanova/sambanova-typescript/commit/3aa3f8aafe1fd1a6b808d07a43f7a7d8859f2d4d)) * minor change to tests ([1307fc9](https://github.com/sambanova/sambanova-typescript/commit/1307fc9e8106ed92d7dd595df767b2bd16649fcd)) * update CI script ([4d24fde](https://github.com/sambanova/sambanova-typescript/commit/4d24fde15f651431dc8fc599acbf16289d8d99f6)) * update SDK settings ([033df10](https://github.com/sambanova/sambanova-typescript/commit/033df100a3e3f0a90e0dbf8d3648937f21275fe9)) * update SDK settings ([06a9c5d](https://github.com/sambanova/sambanova-typescript/commit/06a9c5d2c58d1bf44327e003e11d84f79acd1264))