diff --git a/api/controllers/console/app/audio.py b/api/controllers/console/app/audio.py index 7eef2abc32..d7a4f3e3e0 100644 --- a/api/controllers/console/app/audio.py +++ b/api/controllers/console/app/audio.py @@ -34,8 +34,7 @@ class ChatMessageAudioApi(Resource): try: response = AudioService.transcript_asr( tenant_id=app_model.tenant_id, - file=file, - promot=app_model.app_model_config.pre_prompt + file=file ) return response