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
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.26.0"
".": "0.27.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: 49
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread%2Fmixedbread-4983c57f5143aaeadfbb4af35595570e613035ae500ff1597fdf600cc2a48959.yml
openapi_spec_hash: ecc0a6cfe61c3c959d034d094f36befe
config_hash: ac27678c24558b71ee39b3db54fa12da
config_hash: 22524d9aa927566851636768f6a861cd
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.27.0 (2025-08-17)

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

### Features

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

## 0.26.0 (2025-08-11)

Full Changelog: [v0.25.0...v0.26.0](https://github.com/mixedbread-ai/mixedbread-python/compare/v0.25.0...v0.26.0)
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ from mixedbread import Mixedbread

client = Mixedbread(
api_key=os.environ.get("MXBAI_API_KEY"), # This is the default and can be omitted
# defaults to "production".
environment="local",
# or 'production' | 'local'; defaults to "production".
environment="development",
)

vector_store = client.vector_stores.create()
Expand All @@ -54,8 +54,8 @@ from mixedbread import AsyncMixedbread

client = AsyncMixedbread(
api_key=os.environ.get("MXBAI_API_KEY"), # This is the default and can be omitted
# defaults to "production".
environment="local",
# or 'production' | 'local'; defaults to "production".
environment="development",
)


Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "mixedbread"
version = "0.26.0"
version = "0.27.0"
description = "The official Python library for the Mixedbread API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
13 changes: 7 additions & 6 deletions src/mixedbread/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@

ENVIRONMENTS: Dict[str, str] = {
"production": "https://api.mixedbread.com",
"development": "https://api.dev.mixedbread.com",
"local": "http://127.0.0.1:8000",
}

Expand All @@ -87,13 +88,13 @@ class Mixedbread(SyncAPIClient):
# client options
api_key: str

_environment: Literal["production", "local"] | NotGiven
_environment: Literal["production", "development", "local"] | NotGiven

def __init__(
self,
*,
api_key: str | None = None,
environment: Literal["production", "local"] | NotGiven = NOT_GIVEN,
environment: Literal["production", "development", "local"] | NotGiven = NOT_GIVEN,
base_url: str | httpx.URL | None | NotGiven = NOT_GIVEN,
timeout: Union[float, Timeout, None, NotGiven] = NOT_GIVEN,
max_retries: int = DEFAULT_MAX_RETRIES,
Expand Down Expand Up @@ -197,7 +198,7 @@ def copy(
self,
*,
api_key: str | None = None,
environment: Literal["production", "local"] | None = None,
environment: Literal["production", "development", "local"] | None = None,
base_url: str | httpx.URL | None = None,
timeout: float | Timeout | None | NotGiven = NOT_GIVEN,
http_client: httpx.Client | None = None,
Expand Down Expand Up @@ -450,13 +451,13 @@ class AsyncMixedbread(AsyncAPIClient):
# client options
api_key: str

_environment: Literal["production", "local"] | NotGiven
_environment: Literal["production", "development", "local"] | NotGiven

def __init__(
self,
*,
api_key: str | None = None,
environment: Literal["production", "local"] | NotGiven = NOT_GIVEN,
environment: Literal["production", "development", "local"] | NotGiven = NOT_GIVEN,
base_url: str | httpx.URL | None | NotGiven = NOT_GIVEN,
timeout: Union[float, Timeout, None, NotGiven] = NOT_GIVEN,
max_retries: int = DEFAULT_MAX_RETRIES,
Expand Down Expand Up @@ -560,7 +561,7 @@ def copy(
self,
*,
api_key: str | None = None,
environment: Literal["production", "local"] | None = None,
environment: Literal["production", "development", "local"] | None = None,
base_url: str | httpx.URL | None = None,
timeout: float | Timeout | None | NotGiven = NOT_GIVEN,
http_client: httpx.AsyncClient | None = None,
Expand Down
2 changes: 1 addition & 1 deletion src/mixedbread/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "mixedbread"
__version__ = "0.26.0" # x-release-please-version
__version__ = "0.27.0" # x-release-please-version