From 1c9214e18d69095294b33bb24bd7d5f357c55aba Mon Sep 17 00:00:00 2001 From: Wei-Jianan Date: Fri, 17 May 2024 13:34:13 +0800 Subject: [PATCH] [fix] change default value of LLMConfig.stream to True --- metagpt/configs/llm_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metagpt/configs/llm_config.py b/metagpt/configs/llm_config.py index 222e116ee..3d6056aae 100644 --- a/metagpt/configs/llm_config.py +++ b/metagpt/configs/llm_config.py @@ -73,7 +73,7 @@ class LLMConfig(YamlModel): frequency_penalty: float = 0.0 best_of: Optional[int] = None n: Optional[int] = None - stream: bool = False + stream: bool = True logprobs: Optional[bool] = None # https://cookbook.openai.com/examples/using_logprobs top_logprobs: Optional[int] = None timeout: int = 600