Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
chore: correct _tts_invoke_streaming max length (#7423)
Nam Vu6991a243aaa5
diff --git a/api/core/model_runtime/model_providers/azure_openai/tts/tts.py b/api/core/model_runtime/model_providers/azure_openai/tts/tts.pyindex 3d2bac1c310..f9ddd86f68a 100644--- a/api/core/model_runtime/model_providers/azure_openai/tts/tts.py+++ b/api/core/model_runtime/model_providers/azure_openai/tts/tts.py@@ -70,7 +70,7 @@ class AzureOpenAIText2SpeechModel(_CommonAzureOpenAI, TTSModel):# doc: https://platform.openai.com/docs/guides/text-to-speechcredentials_kwargs = self._to_credential_kwargs(credentials)client = AzureOpenAI(**credentials_kwargs)- # max font is 4096,there is 3500 limit for each request+ # max length is 4096 characters, there is 3500 limit for each requestmax_length = 3500if len(content_text) > max_length:sentences = self._split_text_into_sentences(content_text, max_length=max_length)