MCPcopy
hub / github.com/datascale-ai/opentalking / _dashscope_service_url

Function _dashscope_service_url

opentalking/providers/tts/factory.py:94–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92
93
94def _dashscope_service_url() -> str:
95 return (
96 _provider_env("dashscope", "SERVICE_URL")
97 or _settings_value("tts_dashscope_service_url", "")
98 or "wss://dashscope.aliyuncs.com/api-ws/v1/realtime"
99 )
100
101
102def _dashscope_voice() -> str:

Callers 3

tts_provider_configFunction · 0.85
tts_log_profileFunction · 0.85
create_tts_adapterFunction · 0.85

Calls 2

_provider_envFunction · 0.70
_settings_valueFunction · 0.70

Tested by

no test coverage detected