소스 검색

fix: add tenant_id to invoke tts

Yeuoly 11 달 전
부모
커밋
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,
                     },