From a70e4bd962051c074c9eb7d0ebdc8ccb5a6fb179 Mon Sep 17 00:00:00 2001 From: idle fish Date: Fri, 12 Jul 2024 16:54:37 +0800 Subject: [PATCH] Update customizable-model.md --- zh_CN/guides/model-configuration/customizable-model.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh_CN/guides/model-configuration/customizable-model.md b/zh_CN/guides/model-configuration/customizable-model.md index 3d5df38..4cc3ea9 100644 --- a/zh_CN/guides/model-configuration/customizable-model.md +++ b/zh_CN/guides/model-configuration/customizable-model.md @@ -134,7 +134,7 @@ provider_credential_schema: ```python def _invoke(self, model: str, credentials: dict, prompt_messages: list[PromptMessage], model_parameters: dict, - tools: Optional[list[PromptMessageTool]] = None, stop: Optional[List[str]] = None, + tools: Optional[list[PromptMessageTool]] = None, stop: Optional[list[str]] = None, stream: bool = True, user: Optional[str] = None) \ -> Union[LLMResult, Generator]: """