增加了enable_asr配置选项,更改一处潜在的bug

This commit is contained in:
Windpicker-owo
2025-07-18 13:02:38 +08:00
parent 2017b1ba83
commit 3d9f1a1d5a
4 changed files with 8 additions and 1 deletions

View File

@@ -684,7 +684,7 @@ class LLMRequest:
data.add_field(
"file",io.BytesIO(file_bytes),
filename=f"file.{file_format}",
content_type=f'{content_type_list[file_format]}' # 根据实际文件类型设置
content_type=f'{content_type}' # 根据实际文件类型设置
)
data.add_field(
"model", self.model_name