Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
- next
branches-ignore:
- 'generated'
- 'codegen/**'
- 'integrated/**'
- 'stl-preview-head/**'
- 'stl-preview-base/**'

jobs:
lint:
timeout-minutes: 10
name: lint
runs-on: ubuntu-latest
runs-on: ${{ github.repository == 'stainless-sdks/mixedbread-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
steps:
- uses: actions/checkout@v4

Expand All @@ -30,8 +31,9 @@ jobs:
run: ./scripts/lint

test:
timeout-minutes: 10
name: test
runs-on: ubuntu-latest
runs-on: ${{ github.repository == 'stainless-sdks/mixedbread-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.2.1"
".": "0.3.0"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 32
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread%2Fmixedbread-82c2c1c322149cd73b2e8e45f475919b941752a89e74464ccecd1aee9352e9be.yml
openapi_spec_hash: a47fe4cb39ee0cb74ee5888de2f0a5e1
openapi_spec_hash: f6661e9fafda26e7e9f3fc06739a33ad
config_hash: 6a7c1faa96b022a6959d720d7957eade
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,36 @@
# Changelog

## 0.3.0 (2025-05-03)

Full Changelog: [v0.2.1...v0.3.0](https://github.com/mixedbread-ai/mixedbread-python/compare/v0.2.1...v0.3.0)

### Features

* **api:** update via SDK Studio ([b952b6a](https://github.com/mixedbread-ai/mixedbread-python/commit/b952b6ad1ee7324c6b327d943c5386d678728a54))


### Bug Fixes

* **perf:** optimize some hot paths ([bd06b56](https://github.com/mixedbread-ai/mixedbread-python/commit/bd06b5637169c1509e8fe985464648923059be1f))
* **pydantic v1:** more robust ModelField.annotation check ([c2189be](https://github.com/mixedbread-ai/mixedbread-python/commit/c2189bec21bb2aa3939fa6fbf2101af83ac0d5e2))


### Chores

* broadly detect json family of content-type headers ([5c95291](https://github.com/mixedbread-ai/mixedbread-python/commit/5c952910272c0da69b007e99f0df942c7b9ccccd))
* **ci:** add timeout thresholds for CI jobs ([01d43f8](https://github.com/mixedbread-ai/mixedbread-python/commit/01d43f8e077b0c44aa5c899a8929451f5043ed74))
* **ci:** only use depot for staging repos ([3dc4f6c](https://github.com/mixedbread-ai/mixedbread-python/commit/3dc4f6c070134034b2a237e496a3faf8aab74119))
* **client:** minor internal fixes ([b662363](https://github.com/mixedbread-ai/mixedbread-python/commit/b66236373a0d5f6c11b38c00c0b6ee553fb91137))
* **internal:** base client updates ([0f1103d](https://github.com/mixedbread-ai/mixedbread-python/commit/0f1103d58e3c031470a580cac145aad06f6c9316))
* **internal:** bump pyright version ([6850203](https://github.com/mixedbread-ai/mixedbread-python/commit/68502037ad57b8b20cfbd482151b5c7f3930e2d6))
* **internal:** codegen related update ([121e724](https://github.com/mixedbread-ai/mixedbread-python/commit/121e7247c1943d414ea9d3bd72a6e4b0c8ec8e56))
* **internal:** fix list file params ([9892446](https://github.com/mixedbread-ai/mixedbread-python/commit/9892446c896e49243fc52c060589fc54ad4ece45))
* **internal:** import reformatting ([ecbe1ef](https://github.com/mixedbread-ai/mixedbread-python/commit/ecbe1ef4b2f62723ba1bcb5683b78ae48163e452))
* **internal:** minor formatting changes ([c0fad7c](https://github.com/mixedbread-ai/mixedbread-python/commit/c0fad7c5489d0dc6f8daae839f0f85620d079d8e))
* **internal:** refactor retries to not use recursion ([0b184e2](https://github.com/mixedbread-ai/mixedbread-python/commit/0b184e21de7946ba4ad826831a8adbe25fd126f6))
* **internal:** update models test ([f4cffd9](https://github.com/mixedbread-ai/mixedbread-python/commit/f4cffd9b164310452f345b4d3508a6764671d750))
* **internal:** update pyright settings ([0d8905c](https://github.com/mixedbread-ai/mixedbread-python/commit/0d8905c2e4865d9ac385146ad49d691c9cb49a14))

## 0.2.1 (2025-04-12)

Full Changelog: [v0.2.0...v0.2.1](https://github.com/mixedbread-ai/mixedbread-python/compare/v0.2.0...v0.2.1)
Expand Down
2 changes: 1 addition & 1 deletion api.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Methods:
- <code title="put /v1/vector_stores/{vector_store_id}">client.vector_stores.<a href="./src/mixedbread/resources/vector_stores/vector_stores.py">update</a>(vector_store_id, \*\*<a href="src/mixedbread/types/vector_store_update_params.py">params</a>) -> <a href="./src/mixedbread/types/vector_store.py">VectorStore</a></code>
- <code title="get /v1/vector_stores">client.vector_stores.<a href="./src/mixedbread/resources/vector_stores/vector_stores.py">list</a>(\*\*<a href="src/mixedbread/types/vector_store_list_params.py">params</a>) -> <a href="./src/mixedbread/types/vector_store.py">SyncLimitOffset[VectorStore]</a></code>
- <code title="delete /v1/vector_stores/{vector_store_id}">client.vector_stores.<a href="./src/mixedbread/resources/vector_stores/vector_stores.py">delete</a>(vector_store_id) -> <a href="./src/mixedbread/types/vector_store_delete_response.py">VectorStoreDeleteResponse</a></code>
- <code title="post /v1/vector_stores/question-answering">client.vector_stores.<a href="./src/mixedbread/resources/vector_stores/vector_stores.py">question_answering</a>(\*\*<a href="src/mixedbread/types/vector_store_question_answering_params.py">params</a>) -> <a href="./src/mixedbread/types/vector_store_question_answering_response.py">object</a></code>
- <code title="post /v1/vector_stores/question-answering">client.vector_stores.<a href="./src/mixedbread/resources/vector_stores/vector_stores.py">question_answering</a>(\*\*<a href="src/mixedbread/types/vector_store_question_answering_params.py">params</a>) -> <a href="./src/mixedbread/types/vector_store_question_answering_response.py">VectorStoreQuestionAnsweringResponse</a></code>
- <code title="post /v1/vector_stores/search">client.vector_stores.<a href="./src/mixedbread/resources/vector_stores/vector_stores.py">search</a>(\*\*<a href="src/mixedbread/types/vector_store_search_params.py">params</a>) -> <a href="./src/mixedbread/types/vector_store_search_response.py">VectorStoreSearchResponse</a></code>

## Files
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "mixedbread"
version = "0.2.1"
version = "0.3.0"
description = "The official Python library for the Mixedbread API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down Expand Up @@ -42,7 +42,7 @@ Repository = "https://github.com/mixedbread-ai/mixedbread-python"
managed = true
# version pins are in requirements-dev.lock
dev-dependencies = [
"pyright>=1.1.359",
"pyright==1.1.399",
"mypy",
"respx",
"pytest",
Expand Down Expand Up @@ -147,6 +147,7 @@ exclude = [
]

reportImplicitOverride = true
reportOverlappingOverload = false

reportImportCycles = false
reportPrivateUsage = false
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ pydantic-core==2.27.1
# via pydantic
pygments==2.18.0
# via rich
pyright==1.1.392.post0
pyright==1.1.399
pytest==8.3.3
# via pytest-asyncio
pytest-asyncio==0.24.0
Expand Down
Loading
Loading