Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

fixbug: no param

莘权 马0dddab18b44a
diff --git a/metagpt/learn/text_to_speech.py b/metagpt/learn/text_to_speech.py
index eaceb3313..691aa7f6a 100644
--- a/metagpt/learn/text_to_speech.py
+++ b/metagpt/learn/text_to_speech.py
@@ -44,4 +44,4 @@ async def text_to_speech(
# return f"[{text}]({url})"
return audio_declaration + base64_data if base64_data else base64_data
- raise openai.error.InvalidRequestError("缺少必要的参数")
+ raise openai.error.InvalidRequestError(message="AZURE_TTS_SUBSCRIPTION_KEY and AZURE_TTS_REGION error", param={})