pull/1261/head
foxplaying 2025-09-24 13:09:16 +08:00 committed by GitHub
parent e2d277fd7c
commit 4c8a1dd665
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -598,14 +598,14 @@ class GeminiClient(BaseClient):
self, self,
model_info: ModelInfo, model_info: ModelInfo,
audio_base64: str, audio_base64: str,
max_tokens: int = 1024, max_tokens: int = 2048,
extra_params: dict[str, Any] | None = None, extra_params: dict[str, Any] | None = None,
) -> APIResponse: ) -> APIResponse:
""" """
获取音频转录 获取音频转录
:param model_info: 模型信息 :param model_info: 模型信息
:param audio_base64: 音频文件的Base64编码字符串 :param audio_base64: 音频文件的Base64编码字符串
:param max_tokens: 最大输出token数默认1024 :param max_tokens: 最大输出token数默认2048
:param extra_params: 额外参数可选 :param extra_params: 额外参数可选
:return: 转录响应 :return: 转录响应
""" """