From ae546d1ab0961dda02a1bf65300cef7114a302e2 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Sat, 9 May 2026 15:22:34 +0000 Subject: [PATCH 1/4] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 65899e74..bb83289d 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 55 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread/mixedbread-8a6699853ccfc469a82ccbbc7d0d83eba4290614dbc11d22ac2c420ef457de06.yml -openapi_spec_hash: 19b229526d38bb034f39f08dead56e68 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread/mixedbread-ca689eea40317061f912c4c2194163089c1d2949453e5613502325e6724feb02.yml +openapi_spec_hash: 3b58120ac771aa537cf0133b7758ce9e config_hash: 594a43c9cb8089f079bb9c5442646791 From 47cb692f8fa9585e92f539f95a129775d4a3bb0c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 11 May 2026 18:22:57 +0000 Subject: [PATCH 2/4] feat(api): api update --- .stats.yml | 4 ++-- src/resources/stores/files.ts | 5 ++++ src/resources/stores/stores.ts | 28 +++++++++++++++++++++-- tests/api-resources/stores/stores.test.ts | 3 +++ 4 files changed, 36 insertions(+), 4 deletions(-) diff --git a/.stats.yml b/.stats.yml index bb83289d..2da06a13 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 55 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread/mixedbread-ca689eea40317061f912c4c2194163089c1d2949453e5613502325e6724feb02.yml -openapi_spec_hash: 3b58120ac771aa537cf0133b7758ce9e +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread/mixedbread-046e94aa51d48644b3b896d989979ba724c63c7646569e4c607ba12653f08053.yml +openapi_spec_hash: 778f0ae64db73f363cf3543227e9c5e9 config_hash: 594a43c9cb8089f079bb9c5442646791 diff --git a/src/resources/stores/files.ts b/src/resources/stores/files.ts index f0c7f36c..77b69f13 100644 --- a/src/resources/stores/files.ts +++ b/src/resources/stores/files.ts @@ -446,6 +446,11 @@ export interface AudioURLInputChunk { */ transcription?: string | null; + /** + * summary of the audio + */ + summary?: string | null; + /** * Model for audio URL validation. */ diff --git a/src/resources/stores/stores.ts b/src/resources/stores/stores.ts index 9e069da0..197aff09 100644 --- a/src/resources/stores/stores.ts +++ b/src/resources/stores/stores.ts @@ -216,9 +216,11 @@ export interface AgenticSearchConfig { strict_top_k?: boolean; /** - * Whether to provide media content to the agent for non-text modalities + * Controls when retrieved image content is provided to the agent. `auto` sends + * images only when no OCR text or summary is available, `never` disables image + * content, and `always` sends image content when available. */ - multimodal?: boolean; + media_content?: 'auto' | 'never' | 'always'; /** * Additional custom instructions (followed only when not in conflict with existing @@ -512,6 +514,11 @@ export interface ScoredAudioURLInputChunk { */ transcription?: string | null; + /** + * summary of the audio + */ + summary?: string | null; + /** * Model for audio URL validation. */ @@ -1023,6 +1030,8 @@ export interface StoreSearchResponse { data: Array< ScoredTextInputChunk | ScoredImageURLInputChunk | ScoredAudioURLInputChunk | ScoredVideoURLInputChunk >; + + [k: string]: unknown; } export interface StoreCreateParams { @@ -1147,6 +1156,21 @@ export interface StoreMetadataFacetsParams { * Optional list of facets to return. Use dot for nested fields. */ facets?: Array | null; + + /** + * Maximum number of distinct metadata fields (keys) to return. + */ + max_fields?: number; + + /** + * Maximum number of distinct values returned per field, ranked by count. + */ + max_values_per_field?: number; + + /** + * Maximum number of store files scanned to compute facets. + */ + max_files?: number; } export interface StoreQuestionAnsweringParams { diff --git a/tests/api-resources/stores/stores.test.ts b/tests/api-resources/stores/stores.test.ts index 754b9dc1..687ef303 100644 --- a/tests/api-resources/stores/stores.test.ts +++ b/tests/api-resources/stores/stores.test.ts @@ -110,6 +110,9 @@ describe('resource stores', () => { apply_search_rules: true, }, facets: ['string'], + max_fields: 1, + max_values_per_field: 1, + max_files: 1, }); }); From 668c0a1005edc1f315017da86d3402ebcf0c554b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 11 May 2026 19:22:33 +0000 Subject: [PATCH 3/4] codegen metadata --- .stats.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index 2da06a13..0c61b9e1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 55 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread/mixedbread-046e94aa51d48644b3b896d989979ba724c63c7646569e4c607ba12653f08053.yml -openapi_spec_hash: 778f0ae64db73f363cf3543227e9c5e9 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread/mixedbread-fe78c77edfd65d345d21ca8f29af4cbe6c977cb999e514f8073b9f3d9b721312.yml +openapi_spec_hash: 6e8c61ec14c016c1c74881de9e17d53d config_hash: 594a43c9cb8089f079bb9c5442646791 From 2f77f6b857254b17e20d735c9b472f1a9646bcfd Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 11 May 2026 19:23:01 +0000 Subject: [PATCH 4/4] release: 0.66.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ package.json | 2 +- src/version.ts | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 59cbd40d..7b24d85b 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.65.0" + ".": "0.66.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index e6583270..d27e30fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.66.0 (2026-05-11) + +Full Changelog: [v0.65.0...v0.66.0](https://github.com/mixedbread-ai/mixedbread-ts/compare/v0.65.0...v0.66.0) + +### Features + +* **api:** api update ([47cb692](https://github.com/mixedbread-ai/mixedbread-ts/commit/47cb692f8fa9585e92f539f95a129775d4a3bb0c)) + ## 0.65.0 (2026-05-08) Full Changelog: [v0.64.0...v0.65.0](https://github.com/mixedbread-ai/mixedbread-ts/compare/v0.64.0...v0.65.0) diff --git a/package.json b/package.json index 9d1dbc6d..599802f5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mixedbread/sdk", - "version": "0.65.0", + "version": "0.66.0", "description": "The official TypeScript library for the Mixedbread API", "author": "Mixedbread ", "types": "dist/index.d.ts", diff --git a/src/version.ts b/src/version.ts index 7ebe654f..98269868 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.65.0'; // x-release-please-version +export const VERSION = '0.66.0'; // x-release-please-version