diff --git a/gpt_researcher/utils/llm.py b/gpt_researcher/utils/llm.py index 6a964592c..a0bea9a6b 100644 --- a/gpt_researcher/utils/llm.py +++ b/gpt_researcher/utils/llm.py @@ -116,7 +116,7 @@ async def construct_subtopics(task: str, data: str, config, subtopics: list = [] if 'o3' in config.smart_llm_model or 'o1' in config.smart_llm_model: kwargs['reasoning_effort'] = "high" else: - kwargs['temperature'] = temperature + kwargs['temperature'] = config.temperature kwargs['max_tokens'] = config.smart_token_limit print(f"\n🤖 Calling {config.smart_llm_provider} with model {config.smart_llm_model}...\n")