Skip to content

Commit deb17d9

Browse files
authored
Merge pull request #262 from mixedbread-ai/release-please--branches--main--changes--next
release: 0.45.0
2 parents cbc426c + 545ecf3 commit deb17d9

17 files changed

Lines changed: 192 additions & 24 deletions

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.44.0"
2+
".": "0.45.0"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 63
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread%2Fmixedbread-8a9abf45fe3e0db8c9ba59803ff9ef4ce5d0bb780765d3c1a9587dde2a8d6c93.yml
3-
openapi_spec_hash: 0f3af27e4fc27bcbfbb17f0a2c45c060
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mixedbread%2Fmixedbread-5ad16eef3948ad48d494f6c0bf0b7da1063e177df5b8deaeedb53502101026d7.yml
3+
openapi_spec_hash: 631634e0b03b231050e790e28377e51f
44
config_hash: 557219db19e51f791a1727eac53d506c

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# Changelog
22

3+
## 0.45.0 (2025-12-23)
4+
5+
Full Changelog: [v0.44.0...v0.45.0](https://github.com/mixedbread-ai/mixedbread-python/compare/v0.44.0...v0.45.0)
6+
7+
### Features
8+
9+
* **api:** api update ([e693c21](https://github.com/mixedbread-ai/mixedbread-python/commit/e693c21580f165e34f536aebfe85d57ec51f2cd3))
10+
11+
12+
### Bug Fixes
13+
14+
* use async_to_httpx_files in patch method ([7a64fa3](https://github.com/mixedbread-ai/mixedbread-python/commit/7a64fa34f7ff89b808f079f3f379f55527bdcfc4))
15+
16+
17+
### Chores
18+
19+
* **internal:** add `--fix` argument to lint script ([6644d65](https://github.com/mixedbread-ai/mixedbread-python/commit/6644d6512807e3572613fa1ce21f5fc70e64dd35))
20+
321
## 0.44.0 (2025-12-17)
422

523
Full Changelog: [v0.43.0...v0.44.0](https://github.com/mixedbread-ai/mixedbread-python/compare/v0.43.0...v0.44.0)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "mixedbread"
3-
version = "0.44.0"
3+
version = "0.45.0"
44
description = "The official Python library for the Mixedbread API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

scripts/lint

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@ set -e
44

55
cd "$(dirname "$0")/.."
66

7-
echo "==> Running lints"
8-
rye run lint
7+
if [ "$1" = "--fix" ]; then
8+
echo "==> Running lints with --fix"
9+
rye run fix:ruff
10+
else
11+
echo "==> Running lints"
12+
rye run lint
13+
fi
914

1015
echo "==> Making sure it imports"
1116
rye run python -c 'import mixedbread'

src/mixedbread/_base_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1774,7 +1774,7 @@ async def patch(
17741774
options: RequestOptions = {},
17751775
) -> ResponseT:
17761776
opts = FinalRequestOptions.construct(
1777-
method="patch", url=path, json_data=body, files=to_httpx_files(files), **options
1777+
method="patch", url=path, json_data=body, files=await async_to_httpx_files(files), **options
17781778
)
17791779
return await self.request(cast_to, opts)
17801780

src/mixedbread/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "mixedbread"
4-
__version__ = "0.44.0" # x-release-please-version
4+
__version__ = "0.45.0" # x-release-please-version

src/mixedbread/types/parsing/job_list_response.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3-
from typing import Optional
3+
from typing import Dict, Optional
44
from datetime import datetime
55
from typing_extensions import Literal
66

@@ -11,7 +11,7 @@
1111

1212

1313
class JobListResponse(BaseModel):
14-
"""A parsing job item for list responses, omitting result and error fields."""
14+
"""A parsing job item for list responses."""
1515

1616
id: str
1717
"""The ID of the job"""
@@ -25,6 +25,9 @@ class JobListResponse(BaseModel):
2525
status: ParsingJobStatus
2626
"""The status of the job"""
2727

28+
error: Optional[Dict[str, object]] = None
29+
"""The error of the job"""
30+
2831
started_at: Optional[datetime] = None
2932
"""The started time of the job"""
3033

src/mixedbread/types/parsing/parsing_job.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3-
from typing import List, Optional
3+
from typing import Dict, List, Optional
44
from datetime import datetime
55
from typing_extensions import Literal
66

@@ -82,7 +82,7 @@ class ParsingJob(BaseModel):
8282
status: ParsingJobStatus
8383
"""The status of the job"""
8484

85-
error: Optional[object] = None
85+
error: Optional[Dict[str, object]] = None
8686
"""The error of the job"""
8787

8888
result: Optional[Result] = None

src/mixedbread/types/store_chunk_search_options_param.py

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,50 @@
77

88
from .vector_stores.rerank_config_param import RerankConfigParam
99

10-
__all__ = ["StoreChunkSearchOptionsParam", "Rerank"]
10+
__all__ = ["StoreChunkSearchOptionsParam", "Rerank", "Agentic", "AgenticAgenticSearchConfig"]
1111

1212
Rerank: TypeAlias = Union[bool, RerankConfigParam]
1313

1414

15+
class AgenticAgenticSearchConfig(TypedDict, total=False):
16+
"""Configuration for agentic multi-query search."""
17+
18+
max_rounds: int
19+
"""Maximum number of search rounds"""
20+
21+
queries_per_round: int
22+
"""Maximum queries per round"""
23+
24+
results_per_query: int
25+
"""Results to fetch per query"""
26+
27+
28+
Agentic: TypeAlias = Union[bool, AgenticAgenticSearchConfig]
29+
30+
1531
class StoreChunkSearchOptionsParam(TypedDict, total=False):
1632
"""Options for configuring store chunk searches."""
1733

1834
score_threshold: float
1935
"""Minimum similarity score threshold"""
2036

2137
rewrite_query: bool
22-
"""Whether to rewrite the query"""
38+
"""Whether to rewrite the query.
39+
40+
Ignored when agentic is enabled (the agent handles query decomposition).
41+
"""
2342

2443
rerank: Optional[Rerank]
25-
"""Whether to rerank results and optional reranking configuration"""
44+
"""Whether to rerank results and optional reranking configuration.
45+
46+
Ignored when agentic is enabled (the agent handles ranking).
47+
"""
48+
49+
agentic: Optional[Agentic]
50+
"""
51+
Whether to use agentic multi-query search with automatic query decomposition and
52+
ranking. When enabled, rewrite_query and rerank options are ignored.
53+
"""
2654

2755
return_metadata: bool
2856
"""Whether to return file metadata"""

0 commit comments

Comments
 (0)