We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i have created project using command
crewai create crew project folder name
After editing script as per my requirements when Im runniung the code using crewai run Im getting above error
I have use chatgroq from langchain_groq as well crewai class LLM. Any lead will be appreciated
No
markdown report
@crewbase class QuestionCrew(): """KPIs questions discovery crew"""
agents_config = 'config/questions/agents.yaml' tasks_config = 'config/questions/tasks.yaml' # @llm # def llm_model(self): # return ChatGroq(model="groq/llama-3.1-70b-versatile", # api_key=os.environ.get("GROQ_API_KEY"), # max_tokens=8000, # temperature=0, # ) # @llm # def llm_model(self): # return openai.OpenAI( # base_url="https://api.groq.com/openai/v1", # api_key=os.environ.get("GROQ_API_KEY"), # ) @llm def llm_model(self): return LLM(model="groq/llama-3.1-70b-versatile", api_key="", max_tokens=8000, temperature=0 ) @agent def business_analyst(self) -> Agent: return Agent( config=self.agents_config['business_analyst'], max_rpm=None, verbose=True, # llm= LLM(model="groq/llama-3.1-70b-versatile", # api_key="", # max_tokens=8000, # temperature=0, # ) )
Windows 11
3.11
0.80.0
Venv
ERROR: LiteLLM call failed: litellm.APIError: APIError: GroqException - Connection error.
NA
I tried through multiple ways
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
i have created project using command
crewai create crew project folder name
After editing script as per my requirements when Im runniung the code using crewai run Im getting above error
I have use chatgroq from langchain_groq as well crewai class LLM.
Any lead will be appreciated
Steps to Reproduce
No
Expected behavior
markdown report
Screenshots/Code snippets
@crewbase
class QuestionCrew():
"""KPIs questions discovery crew"""
Operating System
Windows 11
Python Version
3.11
crewAI Version
0.80.0
crewAI Tools Version
0.80.0
Virtual Environment
Venv
Evidence
ERROR: LiteLLM call failed: litellm.APIError: APIError: GroqException - Connection error.
Possible Solution
NA
Additional context
I tried through multiple ways
The text was updated successfully, but these errors were encountered: