Skip to content

feat(api): add spend alerts and response compaction fields - #1445

Merged
dpiet-oai merged 1 commit into
mainfrom
castiron/promotions/pr-509
Nov 26, 2026
Merged

dpiet-oai merged 1 commit into
mainfrom
castiron/promotions/pr-509

Conversation

@dpiet-oai

Copy link
Copy Markdown
Contributor

Summary

Adds email settings for hard spend alerts and exposes additional response compaction fields.

Changes

  • Configure email notifications for organization and project hard spend limits.
  • Set a safety identifier on conversation creation and response compaction.
  • Read the safety identifier and service tier when a compaction response includes them.
  • Refresh API examples and agent session trace guidance.

Castiron-Internal-PR: openai/openai-java-internal#509
Castiron-Source-SHA: 9f46059bf4312d1fb71fa624420b86bf46355655
Castiron-Public-Base-SHA: 5759911
@dpiet-oai
dpiet-oai requested a review from a team as a code owner November 26, 2026 06:27
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-26T06:29:09.241782Z 8172a8e PR opened
🔒 Security Review ✅ Completed 2026-11-26T06:29:48.123581Z 8172a8e 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.

@markstuart-oai markstuart-oai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’ve been reviewing the Java SDK changes for spend-limit notifications, Responses compaction, and conversation safety identifiers. I’ve been checking the generated types and how these fields are sent. Hosted CI has been running for this commit.

@dpiet-oai
dpiet-oai added this pull request to the merge queue Nov 26, 2026
Merged via the queue into main with commit 32b4728 Nov 26, 2026
14 checks passed
@openai-sdks openai-sdks Bot mentioned this pull request Nov 26, 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.

3 participants