GPTMap

openai-python 3.54–3.55 and openai-node 7.59–7.60: Live MCP config lands, budget events vanish

The Live MCP tool grows from an empty stub to 11 fields; budget_reached and the budget event are typed in 3.54.0/7.59.0 and removed a release later; node ships standalone CSAM moderation types while python only updates the OpenAPI docs.

TL;DR
python v3.54.0→v3.55.1 and node v7.59.0→v7.60.0. The Live MCP tool gains 11 fields; connector_id deprecated after 2026-09-01. Budget events: typed in v3.54.0/v7.59.0 (status gains budget_reached; new agent.session.budget_reached event), then removed in v3.55.0/v7.60.0 (spend_control both sides, session_budget_exceeded). node v7.60.0 adds standalone CSAM moderation types; python: OpenAPI docs only.
openai-python v3.54.0–v3.55.1 and openai-node v7.59.0–v7.60.0 are the three python and two node releases shipped late on 2026-11-17 through 11-18 (UTC): the MCP tool configuration for Live sessions turns from a placeholder type into a full field surface, the Managed Agents budget-event and spend-control types follow a rare typed-then-removed path, and node lands standalone CSAM moderation types a full release ahead of python. Every conclusion below comes from this site's own PR diff and tag-source extraction.

The official SDKs shipped two lines across five versions between late 2026-11-17 and 11-18 (UTC): python went v3.54.0→v3.55.0→v3.55.1 and node went v7.59.0→v7.60.0. Three things deserve a field-by-field record — the MCP tool configuration for Live sessions turns from a placeholder type into a complete field surface; the Managed Agents budget-event types follow a rare typed-then-removed path (typed in one release, removed wholesale in the next feature release); and node lands standalone CSAM moderation types while python only updates its OpenAPI reference docs. Every conclusion comes from this site's own extraction of the GitHub release objects, the PR diffs (#4280/#4284/#4289/#3160/#3162/#3166/#3167), and the tag sources at v3.54.0 / v3.55.0 / v7.59.0 / v7.60.0, checked on 2026-11-20.

1. Versions and timeline

PackageVersionGitHub (UTC)Registry (UTC)Notes
openai-pythonv3.54.02026-11-17T22:42:56ZPyPI 22:43:49Z (53 s later)#4284 budget event types
openai-nodev7.59.02026-11-17T22:42:24Znpm 22:54:03Z (11 min 39 s later)#3162, same title, published within the same minute as python 3.54.0
openai-pythonv3.55.02026-11-18T05:21:54ZPyPI 05:22:42Z (48 s later)#4280 Live MCP config + #4289 hide budget
openai-pythonv3.55.12026-11-18T16:04:26ZPyPI 16:05:17Z (51 s later)chore release: #4290 documents CSAM response fields
openai-nodev7.60.02026-11-18T16:06:00Znpm 16:16:53Z (10 min 53 s later)#3160 + #3166 + #3167

python and node released within the same minute late on 11-17 (22:42:56 and 22:42:24) and closed out together again on 11-18 afternoon — the two-package sync rhythm of November continues. As the batch closed, PyPI latest was v3.55.1 and npm latest was v7.60.0. A 2026-11-20 re-check: late on UTC 11-19 each package gained one more release — openai-python 3.56.0 (GitHub 2026-11-19T20:56:27Z / PyPI 20:57:13Z) and openai-node 7.61.0 (GitHub 20:57:15Z / npm 21:07:25Z), each carrying a single release-note item (gpt-live-1.1 joins the Live model choices); this site's tag checks confirm both new versions keep the 11-field ToolMcp/Mcp surface and the four-value status with no budget types returning — the upgrade targets are accordingly 3.56.0 / 7.61.0.

2. The Live MCP tool configuration: from a stub to 11 fields

Inside a Live API responses delegation, the MCP entry of the tools array was previously just a placeholder. Baseline check (tag-verified): python v3.54.0's ToolMcp and node v7.59.0's Mcp each carry only type: Literal["mcp"] / type: 'mcp'. As of v3.55.0 / v7.60.0 they grow 11 fields (python syncs across four files: responses_delegation_config.py, responses_delegation_config_param.py, responses_delegation_update_config.py, responses_delegation_update_config_param.py; node syncs the two Mcp interfaces in live.ts):

# openai-python v3.55.0 tag, src/openai/types/live/responses_delegation_config.py (excerpt)
class ToolMcp(BaseModel):
    type: Literal["mcp"]

    allowed_callers: Optional[List[Literal["direct", "programmatic"]]] = None
    """The tool invocation context(s)."""

    allowed_tools: Optional[ToolMcpAllowedTools] = None
    """A list of MCP tool names that are allowed for this server."""

    authorization: Optional[str] = None
    """This value is omitted from returned Live session data."""

    connector_id: Optional[str] = None
    """The ID of a built-in MCP connector.

    This field is deprecated for models released after September 1, 2026. Use
    `server_url` to connect to a remote MCP server, or `tunnel_id` to connect to a
    local MCP server.
    """

    defer_loading: Optional[bool] = None
    """Whether this MCP tool should be deferred and discovered via tool search."""

    headers: Optional[Dict[str, str]] = None
    """Optional HTTP headers to send when connecting to the MCP server."""

    require_approval: Optional[ToolMcpRequireApproval] = None
    """Controls which MCP tools require explicit user approval before execution."""

    server_description: Optional[str] = None
    """An optional human-readable description of the MCP server."""

    server_label: Optional[str] = None
    """A label used to identify the MCP server."""

    server_url: Optional[str] = None
    """The URL of the MCP server to connect to."""

    tunnel_id: Optional[str] = None
    """The Secure MCP Tunnel ID to use instead of a direct server URL."""

Three sub-shapes (quoted from the extraction):

  • allowed_tools takes two forms: a list of tool-name strings, or the filter object ToolMcpAllowedToolsLiveMCPToolFilterParam (a read_only boolean plus a tool_names list).
  • require_approval takes three forms: the literals "always" / "never", or the filter pair ToolMcpRequireApprovalLiveMCPRequireApprovalFilterParam (always forces approval for matching tools, never skips it; each accepts a read_only plus tool_names combination).
  • authorization and headers are writeOnly: both are marked writeOnly in the OpenAPI layer, with docstrings reading This value is omitted from returned Live session data — you may send them, but they never appear in returned session data.

server_label carries a format constraint: OpenAPI pattern ^[A-Za-z][A-Za-z0-9_-]*$, max length 128. The connector_id deprecation wording (deprecated for models released after September 1, 2026 — use server_url or tunnel_id) matches the wording of the Responses-side MCP connector_id deprecation this site recorded in the 2026-09-18 batch; this batch carries it into the Live delegation type surface. The SDKs' own transport tests (python test_mcp_transport.py / node mcp-transport.test.ts, both added with this batch) round-trip the MCP fields through session.delegation.responses.tools, showing the fields work in the session event stream and not only on the request side.

3. The Managed Agents budget events: typed in one release, deleted in the next

This is the batch's most notable type-surface move, and the two-step rhythm is perfectly mirrored across both packages:

Step one (v3.54.0 / v7.59.0, #4284 / #3162, 'type Managed Agents budget events'):

  • AgentSession.status widens from four to five values: idle / in_progress / requires_action / failed / budget_reached;
  • a new event type AgentSessionBudgetReachedEvent, type literal agent.session.budget_reached, docstring: Emitted when a session pauses because its spending limit was reached (python's class carries event_id, session, and obfuscation fields);
  • the response-side SpendControl.limit changes from a required int to Optional[int] (docstring: The configured positive limit in USD cents, or null when unlimited), and the outer docstring becomes Present when spending-control visibility is enabled; limit is null without a cap. Older server responses may omit this object. — the spend_control setting itself dates from the 2026-10-31 batch (v3.42.0 / v7.46–7.47); this batch changed the response semantics.

Step two (v3.55.0 / v7.60.0, #4289 / #3166, 'hide Managed Agents session budget controls and events') — every item above is taken back:

  • status returns to four values (tag-verified on python v3.55.0 and node v7.60.0 — no budget_reached);
  • AgentSessionBudgetReachedEvent is deleted: python's beta/init.py has zero exports and the agent_session_budget_reached_event.py module 404s at the v3.55.0 tag; node's agents.ts interface and event-union member are removed;
  • the response-side spend_control field and SpendControl type are deleted from AgentSession;
  • the request-side spend_control params are deleted too: python's session_create_params.py / session_update_params.py have zero occurrences at the v3.55.0 tag, and node's sessions.ts matches — the session spend-cap setting introduced in the 2026-10-31 batch exits the surface entirely;
  • session_turn_error's code enum drops session_budget_exceeded (present at both the v3.53.0 and v3.54.0 tags);
  • residue: node's lib-layer helpers (src/lib/beta/agents/agent-turn-result-collector.ts and src/lib/agents/turn-state.ts) keep string comparisons against agent.session.budget_reached — the types are gone, the comparison code remains.
# Status comparison (tag-verified)
# v3.53.0 / v3.54.0: four-value status + session_budget_exceeded in the error enum
# v3.54.0: five-value status (+budget_reached), AgentSessionBudgetReachedEvent added
# v3.55.0: four-value status, event module 404, spend_control at zero on both sides, session_budget_exceeded removed

Why it was removed: the PR bodies carry the official line — #4289/#3166's summary reads The SDK has been exposing Managed Agents session budget controls as public types. This update removes the alpha budget API from those types, characterizes the change as an alpha breaking change for a minor release, and states There is no replacement typed budget API in this release (dependents should stay on the previous SDK until they can remove those references); the same PR supersedes the narrower turn-error code removal (python #4288 / node #3165 — the session_budget_exceeded deletion in the list above). The one-line release-note titles (hide…) carry none of this. The actionable conclusion for dependents: do not put budget_reached or spend_control into production code — the former's types no longer exist, the latter's params no longer exist, and the official side states there is no replacement typed budget API in this release.

4. CSAM moderation: standalone types on node, OpenAPI docs only on python

node v7.60.0's #3167 ('add standalone CSAM moderation types') lands real standalone resource types in src/resources/moderations.ts (tag-verified):

// openai-node v7.60.0, src/resources/moderations.ts (excerpt)
export interface CsamModeration {
  flagged: boolean; // Whether either CSAM category was flagged.
  categories: CsamModeration.Categories;
  category_applied_input_types: CsamModeration.CategoryAppliedInputTypes;
  category_scores: CsamModeration.CategoryScores;
}

export namespace CsamModeration {
  export interface Categories {
    'likely-csam': boolean;
    'likely-csam/gen-ai': boolean;
  }
  export interface CategoryAppliedInputTypes {
    'likely-csam': Array<'image'>;
    'likely-csam/gen-ai': Array<'image'>;
  }
  // CategoryScores has the same shape, with number values
}

export interface CsamModerationResponse {
  id: string;
  model: 'omni-moderation-csam-latest';
  results: Array<CsamModeration>;
}

python's matching release v3.55.1 (#4290, 'document CSAM moderation response fields') is a chore release: its only real change is api_reference/openapi.transformed.yml (plus the codegen stats file) — the OpenAPI reference layer gains the four schemas CSAMModerationResult / CSAMCategoryFlags / CSAMCategoryScores / CSAMCategoryAppliedInputTypes (isomorphic with node's types, identical category and applied-input-type literals), with no resource types under src. The rest of v3.55.1 is dependency and CI dependency bumps (pytest-asyncio, codeql-action, and the python-security group, all deps or deps-dev). To consume a CSAM moderation response on python today, handle the raw payload.

5. Common mistakes and troubleshooting

  • spend_control fails type checks after upgrading: that is expected — v3.55.0 / v7.60.0 removed the request-side params and the response-side field wholesale; strip the code, or pin the old version and accept that it no longer receives fixes.
  • Building pause-handling logic on agent.session.budget_reached: the event type and the status value are both gone (the leftover string comparisons in node's helpers do not make a usable type); handle production logic against the four-value status and the existing error channels.
  • Waiting for authorization / headers to echo back in a Live session: both are writeOnly and omitted from returned Live session data — a missing echo is not a bug.
  • Configuring connector_id for models released after September 1, 2026: the Live-side docstring matches the Responses-side wording — the field is deprecated for those models; use server_url for a remote server or tunnel_id for a Secure MCP Tunnel.
  • Importing CSAM moderation types in python: python gained no resource types in this batch (only the OpenAPI reference layer); node is where CsamModeration exists.

Next steps

Key points

  • Versions and publishing (verified 2026-11-20 via the GitHub releases API and the PyPI/npm registry JSON): python v3.54.0 GitHub 2026-11-17T22:42:56Z / PyPI 22:43:49Z (53 s later); v3.55.0 GitHub 11-18T05:21:54Z / PyPI 05:22:42Z (48 s later); v3.55.1 GitHub 16:04:26Z / PyPI 16:05:17Z (51 s later; the PyPI latest as the batch closed); node v7.59.0 GitHub 22:42:24Z / npm 22:54:03Z (11 min 39 s later); v7.60.0 GitHub 11-18T16:06:00Z / npm 16:16:53Z (10 min 53 s later; the npm latest as the batch closed)
  • Live MCP tool configuration (#4280/#3160): python's ToolMcp and node's Mcp are bare `type: mcp` stubs at the baseline tags (v3.54.0 / v7.59.0, verified); v3.55.0 / v7.60.0 add 11 fields — allowed_callers (a list of direct or programmatic), allowed_tools (a name list or a read_only + tool_names filter object), authorization and headers (writeOnly, docstrings note they are omitted from returned Live session data), connector_id (docstring marks it deprecated for models released after September 1, 2026 — use server_url or tunnel_id), defer_loading (discovered via tool search), require_approval (always, never, or an always/never filter pair), server_label (pattern ^[A-Za-z][A-Za-z0-9_-]*$, max 128), server_description, server_url, tunnel_id
  • The budget events two-step (#4284/#3162 typed, #4289/#3166 removed): v3.54.0 / v7.59.0 widen AgentSession.status with a fifth value budget_reached, add the agent.session.budget_reached event (emitted when a session pauses because its spending limit was reached), and make SpendControl.limit nullable (null when unlimited); the next feature release v3.55.0 / v7.60.0 takes all of it back — status returns to four values, the event type is deleted (python's beta/__init__ exports zero occurrences and the event module 404s; node's agents.ts interface removed), the response-side spend_control field is deleted, the session create/update spend_control params are deleted too, and the session_budget_exceeded error code is removed; node's lib helpers keep string comparisons against the event literal (types gone, comparisons left behind); the removal's official line, in the PR bodies, is that the removed types were an alpha budget API with no replacement typed budget API in this release
  • CSAM moderation is out of sync across the two SDKs: node v7.60.0 (#3167) lands standalone types in moderations.ts — CsamModeration (flagged marks whether either category hit; categories / category_scores / category_applied_input_types with the literals likely-csam and likely-csam/gen-ai, applied input types image only) and CsamModerationResponse whose model is omni-moderation-csam-latest; python's matching v3.55.1 (#4290) only touches api_reference/openapi.transformed.yml (plus the codegen stats file; four schemas including CSAMModerationResult) with no resource types under src; the rest of v3.55.1 is dependency and CI dependency bumps
  • Lifecycle of the request-side spend_control: introduced as a session setting in the 2026-10-31 batch (v3.42.0 / v7.46–7.47, limit a positive integer of USD cents or null), it is removed on both the request and response sides in v3.55.0 / v7.60.0 along with the event and the error code — code that passes spend_control fails type checks after upgrading

Frequently asked questions

In a session whose delegation is responses, put a type-mcp object in the tools array: server_url points at the remote MCP server (or tunnel_id at a Secure MCP Tunnel), server_label identifies it; allowed_tools restricts the usable tool names (or use a read_only plus tool_names filter object), require_approval takes always, never, or an always/never pair of filters controlling which tools need user approval; authorization and headers are write-only — both are omitted from returned Live session data. connector_id is still in the field table but its docstring marks it deprecated for models released after September 1, 2026.

Official references

Related articles

Subscribe to GPTMap Weekly

One email every Monday: curated OpenAI updates, deep dives, and best practices. No ads, unsubscribe anytime.

Submitting opens Buttondown in a new tab to confirm your subscription.

GPTMap EditorialPublished 2026-11-20 9 min read
Test environment (EEAT)
Last tested: 2026-11-20
Model used: SDK: openai-python >= 3.55.1 / openai-node >= 7.60.0