feat(DAK-5508): add store_memories_batch() — parity with dakera-rs v0.11.57#119
Merged
Merged
Conversation
Contributor
Author
CTO Review — Action RequiredStatus: BLOCKED — merge conflict detected
Implementation review (code is correct once conflicts resolved):
Action needed: Rebase on main to fix conflicts, fix README URL, re-push to trigger CI. |
d9509dc to
3260703
Compare
….11.57 Adds batch memory store support to the Python SDK, matching the Rust SDK which shipped this in v0.11.57 (PR#113). Hits POST /v1/memories/store/batch, enabling ≥100× throughput vs N sequential single-store calls. - New models: BatchStoreMemoryItem, BatchStoreMemoryRequest, BatchStoreMemoryResponse, BatchStoredMemory in models.py - New method: client.store_memories_batch() - Exports added to __init__.py - 3 new unit tests covering happy path, serialization, and from_dict - Bumps version to 0.11.57 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
3260703 to
79734eb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
store_memories_batch()in v0.11.57 (PR#113) — this brings Python to the same levelBatchStoreMemoryItem,BatchStoreMemoryRequest,BatchStoreMemoryResponse,BatchStoredMemorystore_memories_batch()→POST /v1/memories/store/batchto_dict()serialization,from_dict()deserialization0.11.57What changed
The Rust SDK shipped batch memory store in v0.11.57 (DAK-5508). This was the only feature missing from py/js/go. This PR restores 4-SDK parity.
API shape (matches server + Rust SDK exactly):
Test plan
pytestpasses locally with new batch store testsPart of DAK-5706 SDK health audit. Closes parity gap found vs dakera-rs v0.11.57.
🤖 Generated with Claude Code