Skip to content

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

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

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

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.
  • List GPT-4.1 mini as a fine-tuning model option.

Castiron-Internal-PR: openai/openai-python-internal#454
Castiron-Source-SHA: 20f51415ee1be9dbfda6acf5de22bf505594c035
Castiron-Public-Base-SHA: c386f19
@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:28:53.284377Z 5f993ef PR opened
🔒 Security Review ✅ Completed 2026-11-26T06:29:22.381732Z 5f993ef 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 Python 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 4713afd Nov 26, 2026
26 checks passed
@dpiet-oai
dpiet-oai deleted the castiron/promotions/pr-454 branch November 26, 2026 06:48
@openai-sdks openai-sdks Bot mentioned this pull request Nov 26, 2026
AsherBond pushed a commit to AsherBond/openai-python that referenced this pull request Nov 26, 2026
Automated Release PR
---


##
[3.60.0](openai/openai-python@v3.59.0...v3.60.0)
(2026-11-26)


### Features

* **api:** add spend alerts and response compaction fields
([openai#4335](openai#4335))
([4713afd](openai@4713afd))
* **api:** support updating session vaults
([openai#4334](openai#4334))
([c386f19](openai@c386f19))


### Chores

* **api:** clarify message retries and Batch endpoints
([openai#4333](openai#4333))
([b5b55ab](openai@b5b55ab))
* **api:** clarify Realtime audio noise reduction
([openai#4331](openai#4331))
([6626656](openai@6626656))
* **api:** correct metadata documentation
([openai#4328](openai#4328))
([aff223d](openai@aff223d))
* **api:** document inline skill upload limits
([openai#4300](openai#4300))
([621fd09](openai@621fd09))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: openai-sdks[bot] <284451331+openai-sdks[bot]@users.noreply.github.com>
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