Skip to content

feat(api): add agent context compaction settings - #4209

Merged
jbeckwith-oai merged 1 commit into
mainfrom
castiron/promotions/pr-380
Oct 29, 2026
Merged

jbeckwith-oai merged 1 commit into
mainfrom
castiron/promotions/pr-380

Conversation

@jbeckwith-oai

Copy link
Copy Markdown
Contributor

Summary

Adds context compaction settings to beta agents, sessions, and scheduled agent runs.

Changes

  • Configure background or blocking context compaction with the async_ parameter.
  • Read effective compaction settings from agents, sessions, and scheduled agent configurations.

Castiron-Internal-PR: openai/openai-python-internal#380
Castiron-Source-SHA: 0fcb9b204444417eb828324f16f56a26a7b45d37
Castiron-Public-Base-SHA: ca1217c
@jbeckwith-oai
jbeckwith-oai requested a review from a team as a code owner October 29, 2026 11:38
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-29T11:39:41.187039Z 0d6f4b6 PR opened
🔒 Security Review ✅ Completed 2026-10-29T11:40:55.467079Z 0d6f4b6 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

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
jbeckwith-oai added this pull request to the merge queue Oct 29, 2026
Merged via the queue into main with commit f552fcf Oct 29, 2026
26 checks passed
@jbeckwith-oai
jbeckwith-oai deleted the castiron/promotions/pr-380 branch October 29, 2026 11:50
@openai-sdks openai-sdks Bot mentioned this pull request Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants