Xin Wang
7d4af18815
Add output.audio.played message handling and update documentation
...
- Introduced `output.audio.played` message type for client acknowledgment of audio playback completion.
- Updated `DuplexPipeline` to track client playback state and handle playback completion events.
- Enhanced session handling to route `output.audio.played` messages to the pipeline.
- Revised API documentation to include details about the new message type and its fields.
- Updated schema documentation to reflect the addition of `output.audio.played` in the message flow.
2026-03-04 10:01:34 +08:00
Xin Wang
3643431565
Enhance WebSocket session configuration by introducing an optional config.resolved event, which provides a public snapshot of the session's configuration. Update the API reference documentation to clarify the conditions under which this event is emitted and the details it includes. Modify session management to respect the new setting for emitting configuration details, ensuring sensitive information remains secure. Update tests to validate the new behavior and ensure compliance with the updated configuration schema.
2026-03-01 23:08:44 +08:00
Xin Wang
6a46ec69f4
Enhance WebSocket session management by requiring assistant_id as a query parameter for connection. Update API reference documentation to reflect changes in message flow and metadata validation rules, including the introduction of whitelists for allowed metadata fields and restrictions on sensitive keys. Refactor client examples to align with the new session initiation process.
2026-03-01 14:10:38 +08:00
Xin Wang
b4fa664d73
Refactor WebSocket authentication handling by removing auth requirements from the hello message. Update related documentation and schemas to reflect the changes in authentication strategy, simplifying the connection process.
2026-02-28 17:33:40 +08:00
Xin Wang
6178cc05bb
Add system-level dynamic variables support in session management. Implement methods to generate and apply built-in variables for current session time, UTC time, and timezone. Update documentation to reflect new variables and enhance tests for dynamic variable handling in the UI components.
2026-02-27 12:08:18 +08:00
Xin Wang
3272a7a68a
Add dynamic variables support in session management and UI components. Implement validation rules for dynamic variables in metadata, including key format and value constraints. Enhance session start handling to manage dynamic variable errors. Update documentation and tests to reflect new functionality.
2026-02-27 11:21:37 +08:00
Xin Wang
72ed7d0512
Unify db api
2026-02-26 01:58:39 +08:00
Xin Wang
ff3a03b1ad
Use openai compatible as vendor
2026-02-12 18:44:55 +08:00
Xin Wang
15523d9ec2
Add tts/text output schema
2026-02-11 09:50:46 +08:00
Xin Wang
6cac24918d
Now we have server tool and client tool
2026-02-10 19:13:54 +08:00
Xin Wang
4b8da32787
Update code for tool call
2026-02-10 16:28:20 +08:00
Xin Wang
fb6d1eb1da
Implement WS v1 protocol and runtime-config powered debug drawer
2026-02-09 08:19:39 +08:00
Xin Wang
d5c1ab34b3
Add backend api and engine
2026-02-06 14:01:34 +08:00