diff --git a/metagpt/actions/research.py b/metagpt/actions/research.py index 316e9f299..ce8d8a967 100644 --- a/metagpt/actions/research.py +++ b/metagpt/actions/research.py @@ -133,7 +133,7 @@ class CollectLinks(Action): if len(remove) == 0: break - model_name = config.model + model_name = config.llm.model prompt = reduce_message_length(gen_msg(), model_name, system_text, 4096) logger.debug(prompt) queries = await self._aask(prompt, [system_text])