You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added new timeout configuration options: receive_timeout, close_timeout, and handshake_timeout for fine-grained control
Enhanced compression parameter to support both boolean and integer types for advanced zlib window configuration
Added vendor_options parameter for implementation-specific options passthrough (escape hatch for advanced users)
Improved documentation with clearer descriptions for all connection parameters
Better support for common aliases from other WebSocket ecosystems (max_size, ping_interval, etc.)
More robust option mapping with proper type conversion and safety checks
Enhanced Type Safety: Improved type safety for content parts with proper enum usage:
InputAudioContentPart, InputTextContentPart, and OutputTextContentPart now use ContentPartType enum values instead of string literals
Better IntelliSense support and compile-time type checking for content part discriminators
Breaking Changes
Improved Naming Conventions: Updated model and enum names for better clarity and consistency:
OAIVoice enum renamed to OpenAIVoiceName for more descriptive naming
ToolChoiceObject model renamed to ToolChoiceSelection for better semantic meaning
ToolChoiceFunctionObject model renamed to ToolChoiceFunctionSelection for consistency
Updated type unions and imports to reflect the new naming conventions
Cross-language package mappings updated to maintain compatibility across SDKs
Session Model Architecture: Separated ResponseSession and RequestSession models for better design clarity:
ResponseSession no longer inherits from RequestSession and now inherits directly from _Model
All session configuration fields are now explicitly defined in ResponseSession instead of being inherited
This provides clearer separation of concerns between request and response session configurations
May affect type checking and code that relied on the previous inheritance relationship
Model Cleanup: Removed unused AgentConfig model and related fields from the public API:
AgentConfig class has been completely removed from imports and exports
agent field removed from ResponseSession model (including constructor parameter)
Updated cross-language package mappings to reflect the removal
Model Naming Convention Update: Renamed EOUDetection to EouDetection for better naming consistency:
Class name changed from EOUDetection to EouDetection
All inheritance relationships updated: AzureSemanticDetection, AzureSemanticDetectionEn, and AzureSemanticDetectionMultilingual now inherit from EouDetection
Type annotations updated in AzureSemanticVad, AzureSemanticVadEn, AzureSemanticVadMultilingual, and ServerVad classes
Import statements and exports updated to reflect the new naming
Enhanced Content Part Type Safety: Content part discriminators now use enum values instead of string literals:
InputAudioContentPart.type now uses ContentPartType.INPUT_AUDIO instead of "input_audio"
InputTextContentPart.type now uses ContentPartType.INPUT_TEXT instead of "input_text"
OutputTextContentPart.type now uses ContentPartType.TEXT instead of "text"