mirror of https://github.com/Mai-with-u/MaiBot.git
fix
parent
b4f6b6e7b7
commit
e97af77fc8
|
|
@ -403,8 +403,8 @@ class OpenaiClient(BaseClient):
|
|||
model_info: ModelInfo,
|
||||
message_list: list[Message],
|
||||
tool_options: list[ToolOption] | None = None,
|
||||
max_tokens: int = 1024,
|
||||
temperature: float = 0.7,
|
||||
max_tokens: Optional[int] = 1024,
|
||||
temperature: Optional[float] = 0.7,
|
||||
response_format: RespFormat | None = None,
|
||||
stream_response_handler: Optional[
|
||||
Callable[
|
||||
|
|
|
|||
Loading…
Reference in New Issue