From d7381a745574abdabb319cca069b5863397347a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8E=98=E6=9D=83=20=E9=A9=AC?= Date: Mon, 1 Jul 2024 20:35:03 +0800 Subject: [PATCH] refactor: comments --- metagpt/configs/models_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/metagpt/configs/models_config.py b/metagpt/configs/models_config.py index 9aaa79702..bc4897fec 100644 --- a/metagpt/configs/models_config.py +++ b/metagpt/configs/models_config.py @@ -25,10 +25,10 @@ from metagpt.utils.yaml_model import YamlModel class ModelsConfig(YamlModel): """ - Configuration class for LLM models. + Configuration class for `models` in `config2.yaml`. Attributes: - models (Dict[str, LLMConfig]): Dictionary mapping model names to LLMConfig objects. + models (Dict[str, LLMConfig]): Dictionary mapping model names or types to LLMConfig objects. Methods: update_llm_model(cls, value): Validates and updates LLM model configurations.