Skip to content

add http sse cosyvocie tts api and omni createItem function#206

Merged
xiong-binbin merged 2 commits into
dashscope:mainfrom
songguocola:dev/omni_0331
Apr 14, 2026
Merged

add http sse cosyvocie tts api and omni createItem function#206
xiong-binbin merged 2 commits into
dashscope:mainfrom
songguocola:dev/omni_0331

Conversation

@songguocola
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces the HttpSpeechSynthesizer for HTTP-based text-to-speech synthesis using SSE, along with associated data models and usage examples. It also adds tool calling support to OmniRealtimeConversation via a new createItem method and implements 60-second connection timeouts across several WebSocket clients to prevent indefinite blocking. Review feedback recommends addressing potential thread-safety issues when accumulating audio data, reducing the 10-minute timeout for synchronous calls to a more reasonable value, and improving type safety and exception handling during JSON parsing and connection failures.

@xiong-binbin xiong-binbin merged commit 320f157 into dashscope:main Apr 14, 2026
3 checks passed
@songguocola songguocola deleted the dev/omni_0331 branch April 27, 2026 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants