Repository navigation
feat(api): add memory and history to beta agents - #4372
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
jbeckwith-oai
left a comment
There was a problem hiding this comment.
Reviewed f66c9b8 with an independent static review. No actionable correctness, security, or compatibility findings. Checked memory/history resource routing, beta authentication headers, request serialization and revision guards, nullable store/tool fields, union integration, exports, and token-versus-ID pagination including empty intermediate token pages. Inspected the added tests and existing feedback.
Hosted CI has no failures at review time; several test/analysis jobs and OkTest are still pending. Static review only; no local code or tests were run.
markstuart-oai
left a comment
There was a problem hiding this comment.
I've been checking the new store and note request paths, pagination, and the distinction between omitted and null store IDs.
Castiron-Internal-PR: openai/openai-python-internal#470 Castiron-Source-SHA: e617d6b71cbc376563392d0974c85e1f897f71bf Castiron-Public-Base-SHA: dfed070
f66c9b8 to
e7282ec
Compare
markstuart-oai
left a comment
There was a problem hiding this comment.
The rebase has been preserving the reviewed Python SDK behavior for memory and history stores, including pagination and the tool fields.
jbeckwith-oai
left a comment
There was a problem hiding this comment.
Approved after comprehensive static re-review and an independent second review. Memory/history implementations, pagination, nullable fields, signatures, and tests remain unchanged from the previously approved revision. Incoming custom-storage changes match separately reviewed code; no actionable integration findings. Hosted checks have completed successfully (with skipped/neutral checks as applicable). No candidate code or local tests were executed.
Automated Release PR --- ## [3.64.0](v3.63.0...v3.64.0) (2026-12-05) ### ⚠ BREAKING CHANGES * **api:** Type checkers can flag direct `provider.region` access even for bucket-only callers. At runtime, reading it on a custom endpoint raises `AttributeError`. Check `provider.type != "custom_endpoint"` first. ([#4374](#4374)) ### Features * **api:** add memory and history to beta agents ([#4372](#4372)) ([cc52701](cc52701)) * **api:** add model and token category to organization costs ([#4365](#4365)) ([43b6ff6](43b6ff6)) * **api:** add project API key status filters ([#4371](#4371)) ([7adbcba](7adbcba)) * **api:** support custom HTTPS providers for external storage ([#4374](#4374)) ([dfed070](dfed070)) ### Bug Fixes * **streaming:** omit payloads from invalid delta errors ([#4375](#4375)) ([ba6e577](ba6e577)) ### Chores * **api:** clarify agent session deletion ([#4368](#4368)) ([8f651c7](8f651c7)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Summary
Adds reusable memory and history stores to client.beta.agents.
Changes