An error occurred while running the crew: If you don't, make sure to add it: Any response to this, i am experiencing the same issue.
An error occurred while running the crew: At first it works just fine, but when i try to change and implement my own agents, it just started having this issue: This mismatch is likely due to a recent update in the llm class, which changed the expected key from api_base to base_url.
Just getting started with the project, so i'm not sure if i missed anything. The issue is happening after creating the crew using the command line crewai create crew name_of_project. This makes it so that the code only tries to access 'key_name' if it is actually present in env_var. Did you figured out how to solve it so far?
I have tried to create a crew in python3.10.12 conda environment with open ai,unfortunately some conflicts arised assocuated with from typing import any, dict, list, optional,self and typing of python3.10. This might give more information for people to be able to help you debug your issue. The error occurs because the llm class in the crewai package expects a base_url key for ollama’s base url, but the env_vars in constants.py currently provides api_base instead. Hello, i just created a new project and tryed to run it.
An error occurred while running the crew: I installed crewai as per the documentation and tried the quickstart project. The crewai install command is failing with the following error. The same code worked without an error with python 3.10.7 and crew version 0.114.0.
In agent.py, try to change the code where the keyerror occurs to include a check for 'key_name' in env_var before accessing it. No such file or directory (os error 2) an error occurred while running the crew: Try checking your pyproject.toml file for the [project.scripts] section and confirm that you have an entry for run_crew in there.