Add changelog entries for #4352
This commit is contained in:
1
changelog/4352.changed.md
Normal file
1
changelog/4352.changed.md
Normal file
@@ -0,0 +1 @@
|
||||
- `ToolsSchema(standard_tools=...)` now accepts any `Sequence[FunctionSchema | DirectFunction]` rather than requiring an exact `list` of the union. Callers can pass a narrower `list[FunctionSchema]` (or any other `Sequence`) without the type checker complaining about list invariance.
|
||||
1
changelog/4352.fixed.2.md
Normal file
1
changelog/4352.fixed.2.md
Normal file
@@ -0,0 +1 @@
|
||||
- Fixed direct-function registration crashing for functions without a docstring. `DirectFunctionWrapper` passed `inspect.getdoc()`'s result to `docstring_parser.parse()`, which raises when the docstring is `None`. Functions now register cleanly whether or not they have a docstring; an empty docstring produces empty description and parameter metadata as expected.
|
||||
1
changelog/4352.fixed.md
Normal file
1
changelog/4352.fixed.md
Normal file
@@ -0,0 +1 @@
|
||||
- Fixed `AssemblyAISTTService`, `CartesiaSTTService`, `GradiumSTTService`, and `SonioxSTTService` crashing the pipeline on transient WebSocket send failures. Each `run_stt` sent audio directly without catching errors, so a single network hiccup mid-stream raised an uncaught exception through `process_frame`. The guards now log a warning and let the connection-state check on the next call handle recovery, matching the pattern used by Deepgram, xAI, Azure, and other push-based STTs.
|
||||
Reference in New Issue
Block a user