From 6d8c2b3eb0bdd2aa783b92bcf78dfcbf083bd812 Mon Sep 17 00:00:00 2001 From: Vinay Vikram Date: Wed, 19 Feb 2025 19:02:29 +0530 Subject: [PATCH] Fixed constuct subtopics --- gpt_researcher/utils/llm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")