浏览代码

fix: add tenant_id to invoke tts

Yeuoly 5 月之前
父节点
当前提交
6f2d5ff099
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      api/core/plugin/manager/model.py

+ 1 - 0
api/core/plugin/manager/model.py

@@ -381,6 +381,7 @@ class PluginModelManager(BasePluginManager):
                         "model_type": "tts",
                         "model": model,
                         "credentials": credentials,
+                        "tenant_id": tenant_id,
                         "content_text": content_text,
                         "voice": voice,
                     },