mirror of https://github.com/Mai-with-u/MaiBot.git
fix
parent
67d958983d
commit
3eb96598d9
|
|
@ -565,7 +565,7 @@ class OpenaiClient(BaseClient):
|
|||
self,
|
||||
model_info: ModelInfo,
|
||||
audio_base64: str,
|
||||
max_tokens: int = 2048, # OpenAI 实际不用
|
||||
max_tokens: Optional[int] = None,
|
||||
extra_params: dict[str, Any] | None = None,
|
||||
) -> APIResponse:
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in New Issue