Daily AI News · Nov 24, 2026
Developers

OpenAI Python SDK adds agent session spending limit controls

Published · Source dated

OpenAI released version 3.58.0 of its Python SDK with API support for setting and reading spending limits on agent sessions. Python applications can now configure a session’s limit and retrieve the configured value through the SDK. The release notes describe the feature at the session level and give no details on when a limit takes effect or what happens when a session reaches it. The update also clarifies when to omit the completion choice count.

Why it matters

Applications that manage agent sessions can use the SDK both to set a spending limit and to check the value configured for a session.

Sources

More on this day

Comments