mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-30 03:16:23 +02:00
fixbug: no param
This commit is contained in:
parent
04b348e929
commit
0dddab18b4
1 changed files with 1 additions and 1 deletions
|
|
@ -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={})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue