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
9
+
- Enhanced `compression` parameter to support both boolean and integer types for advanced zlib window configuration
10
+
- Added `vendor_options` parameter for implementation-specific options passthrough (escape hatch for advanced users)
11
+
- Improved documentation with clearer descriptions for all connection parameters
12
+
- Better support for common aliases from other WebSocket ecosystems (`max_size`, `ping_interval`, etc.)
13
+
- More robust option mapping with proper type conversion and safety checks
14
+
-**Enhanced Type Safety**: Improved type safety for content parts with proper enum usage:
15
+
-`InputAudioContentPart`, `InputTextContentPart`, and `OutputTextContentPart` now use `ContentPartType` enum values instead of string literals
16
+
- Better IntelliSense support and compile-time type checking for content part discriminators
17
+
18
+
### Breaking Changes
19
+
20
+
-**Improved Naming Conventions**: Updated model and enum names for better clarity and consistency:
21
+
-`OAIVoice` enum renamed to `OpenAIVoiceName` for more descriptive naming
22
+
-`ToolChoiceObject` model renamed to `ToolChoiceSelection` for better semantic meaning
23
+
-`ToolChoiceFunctionObject` model renamed to `ToolChoiceFunctionSelection` for consistency
24
+
- Updated type unions and imports to reflect the new naming conventions
25
+
- Cross-language package mappings updated to maintain compatibility across SDKs
26
+
-**Session Model Architecture**: Separated `ResponseSession` and `RequestSession` models for better design clarity:
27
+
-`ResponseSession` no longer inherits from `RequestSession` and now inherits directly from `_Model`
28
+
- All session configuration fields are now explicitly defined in `ResponseSession` instead of being inherited
29
+
- This provides clearer separation of concerns between request and response session configurations
30
+
- May affect type checking and code that relied on the previous inheritance relationship
31
+
-**Model Cleanup**: Removed unused `AgentConfig` model and related fields from the public API:
32
+
-`AgentConfig` class has been completely removed from imports and exports
33
+
-`agent` field removed from `ResponseSession` model (including constructor parameter)
34
+
- Updated cross-language package mappings to reflect the removal
35
+
-**Model Naming Convention Update**: Renamed `EOUDetection` to `EouDetection` for better naming consistency:
36
+
- Class name changed from `EOUDetection` to `EouDetection`
37
+
- All inheritance relationships updated: `AzureSemanticDetection`, `AzureSemanticDetectionEn`, and `AzureSemanticDetectionMultilingual` now inherit from `EouDetection`
38
+
- Type annotations updated in `AzureSemanticVad`, `AzureSemanticVadEn`, `AzureSemanticVadMultilingual`, and `ServerVad` classes
39
+
- Import statements and exports updated to reflect the new naming
40
+
-**Enhanced Content Part Type Safety**: Content part discriminators now use enum values instead of string literals:
41
+
-`InputAudioContentPart.type` now uses `ContentPartType.INPUT_AUDIO` instead of `"input_audio"`
42
+
-`InputTextContentPart.type` now uses `ContentPartType.INPUT_TEXT` instead of `"input_text"`
43
+
-`OutputTextContentPart.type` now uses `ContentPartType.TEXT` instead of `"text"`
0 commit comments