Replies: 1 comment
-
from crewai import LLM
for the other models use the similar syntax Example : for ollama |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey guys, i am preparing some self tools by using crewai framework and the chatgroq .Recently i encountered an error whenever i tried to kickoff the crew i got an error linking to the litellm.ai .
here the snippet of my code initializing the chatgroq,
llm = ChatGroq(
model="llama3-8b-8192",
temperature=0.7,
groq_api_key=os.getenv("GROQ_API_KEY")
)
while running the code im getting error
Provider List: https://docs.litellm.ai/docs/providers
2024-11-25 15:07:41,506 - 134568961332736 - llm.py-llm:178 - ERROR: Failed to get supported params: argument of type 'NoneType' is not iterable
Provider List: https://docs.litellm.ai/docs/providers
2024-11-25 15:07:41,510 - 134568961332736 - llm.py-llm:178 - ERROR: Failed to get supported params: argument of type 'NoneType' is not iterable
Provider List: https://docs.litellm.ai/docs/providers
2024-11-25 15:07:41,512 - 134568961332736 - llm.py-llm:178 - ERROR: Failed to get supported params: argument of type 'NoneType' is not iterable
Provider List: https://docs.litellm.ai/docs/providers
2024-11-25 15:07:41,516 - 134568961332736 - llm.py-llm:178 - ERROR: Failed to get supported params: argument of type 'NoneType' is not iterable
Provider List: https://docs.litellm.ai/docs/providers
2024-11-25 15:07:41,523 - 134568961332736 - llm.py-llm:178 - ERROR: Failed to get supported params: argument of type 'NoneType' is not iterable
Provider List: https://docs.litellm.ai/docs/providers
2024-11-25 15:07:41,524 - 134568961332736 - llm.py-llm:178 - ERROR: Failed to get supported params: argument of type 'NoneType' is not iterable
Provider List: https://docs.litellm.ai/docs/providers
2024-11-25 15:07:41,524 - 134568961332736 - llm.py-llm:178 - ERROR: Failed to get supported params: argument of type 'NoneType' is not iterable
Provider List: https://docs.litellm.ai/docs/providers
The packages and the version i agve using,
py=3.10.9
crewai=0.80.0
langchain=0.3.8
langchain-core=0.3.21
langchain-community=0.3.8
Anyone faced similar issues, i was using later version of Crewai then i think it is 0.30 something. If somebody faced similar issue can anybody give instruction and you debugged this??
Beta Was this translation helpful? Give feedback.
All reactions