Decisions
OpenAI SDK 中新增的独立决策模块,作为专用 API 入口提供决策相关能力,支持开发者单独调用和管理,是 SDK 模块化演进的一部分
Timeline (last 90 days)
For projects using the Live API and the Decisions type, it is recommended to globally search for string operations on question.instructions before upgrading, check exhaustive judgments on Decisions input message roles, and add test cases for structured instructions.
When writing exhaustive type checks, developers need to update the branch logic accordingly; otherwise, new roles or new history items may be missed, causing runtime behavior to deviate from expectations.
In v3.37.0, the request input type of Decisions adds additional message roles and tool-history items.
The impact of the breaking change in v3.37.0 is concentrated on the Decisions type of the Live API.
Company Brain's question routing is currently keyword-based, dispatching questions to expert agents such as People & Teams, Projects, Issues & Telecom, Documents, and Decisions, and handing unmatched questions to the Generalist.
Decisions is the module in the OpenAI SDK used to handle decision-related logic, and the cache breakpoint parameters concern where a request can be cached and reused.
PR #4092 shared the parameter type of the Decisions cache breakpoints, extracting it as a shared type to unify type definitions across different modules.
v3.32.0 clarified the definitions of the Decisions request and response fields (PR #4079).
In v3.32.0, Live sessions added support for Decisions (PR #4088), allowing real-time sessions to make structured judgments during execution.
OpenAI SDK v3.26.0 版本的核心变化是在 API 层面新增了独立的 Decisions 支持
2 more timeline events
All Facts (11)
The impact of the breaking change in v3.37.0 is concentrated on the Decisions type of the Live API.
50%UnverifiedWhen writing exhaustive type checks, developers need to update the branch logic accordingly; otherwise, new roles or new history items may be missed, causing runtime behavior to deviate from expectations.
50%UnverifiedIn v3.37.0, the request input type of Decisions adds additional message roles and tool-history items.
50%UnverifiedFor projects using the Live API and the Decisions type, it is recommended to globally search for string operations on question.instructions before upgrading, check exhaustive judgments on Decisions input message roles, and add test cases for structured instructions.
50%UnverifiedCompany Brain's question routing is currently keyword-based, dispatching questions to expert agents such as People & Teams, Projects, Issues & Telecom, Documents, and Decisions, and handing unmatched questions to the Generalist.
50%UnverifiedDecisions is the module in the OpenAI SDK used to handle decision-related logic, and the cache breakpoint parameters concern where a request can be cached and reused.
50%UnverifiedPR #4092 shared the parameter type of the Decisions cache breakpoints, extracting it as a shared type to unify type definitions across different modules.
50%Unverifiedv3.32.0 clarified the definitions of the Decisions request and response fields (PR #4079).
50%UnverifiedIn v3.32.0, Live sessions added support for Decisions (PR #4088), allowing real-time sessions to make structured judgments during execution.
50%Unverified独立的 Decisions 支持对应的变更为 PR #4033
50%UnverifiedOpenAI SDK v3.26.0 版本的核心变化是在 API 层面新增了独立的 Decisions 支持
50%