Error: llm.py-llm:426 - ERROR: Failed to get supported params: argument of type 'NoneType' is not iterable

Getting the above error when trying to use integrate Groq_llm into agents

from crewai import Agent, Task, Crew, Process, LLM
from crewai_tools import SerperDevTool

groq_llm=LLM(model="llama3-8b-8192",
            temperature=0.3,
            groq_api_key=api_key,
            base_url="https://api.groq.com/openai/v1"            
            )

researcher = Agent(
                llm=groq_llm,
                role="Senior Researcher",
                goal="Explore and analyze emerging and transformative technologies in {topic} to drive innovation and discovery.",
                verbose=True,
                memory=True,
                backstory = """
                            Driven by curiosity and innovation, you uncover groundbreaking insights, exploring new frontiers that shape the future.
                            """,
                tools=[search_tool],
                respect_context_window=True,
                cache=True,
                allow_delegation=True ) 

Can anyone help me to get out of the error?

Structure this way:

from crewai import Agent, Task, Crew, Process, LLM
from crewai_tools import SerperDevTool

groq_llm=LLM(model="groq/llama3-8b-8192",
            temperature=0.3,
            groq_api_key=api_key         
            )

researcher = Agent(
                llm=groq_llm,
                role="Senior Researcher",
                goal="Explore and analyze emerging and transformative technologies in {topic} to drive innovation and discovery.",
                verbose=True,
                memory=True,
                backstory = """
                            Driven by curiosity and innovation, you uncover groundbreaking insights, exploring new frontiers that shape the future.
                            """,
                tools=[search_tool],
                respect_context_window=True,
                cache=True,
                allow_delegation=True )