Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

[fix] change default value of LLMConfig.stream to True

Wei-Jianan1c9214e18d69
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