Closed felipesaezreyes closed 1 month ago
Is this really a bug? If a model doesn't support an attribute eg temperature maybe just don't put it?
Which behavior were you expecting?
If temperature
is not set, it uses the default 0.7
and it errors out, hence why I set it as 1.
That's not the issue here, but the fact that it uses the stop
parameter which isn't supported. I didn't find a way for it to not use the stop
parameter
this issue appears to be covered by this PR https://github.com/crewAIInc/crewAI/pull/1322
Yup, once #1322 this shoudl be good
Fixed not on 0.63.6 should work :D
Description
I defined the model to
o1-preview
oro1-mini
and temperature to 1, and I get the following errorApparently the
stop
parameter is used, and is not supported. I didn't find a way for the crew to no use this parameterSteps to Reproduce
Define LLM for an agent as
llm=ChatOpenAI(model_name="o1-preview", temperature=1)
run the crew.
Expected behavior
Agent executes without error
Screenshots/Code snippets
llm=ChatOpenAI(model_name="o1-preview", temperature=1)
Operating System
macOS Sonoma
Python Version
3.12
crewAI Version
0.51.1
crewAI Tools Version
0.51.1
Virtual Environment
Venv
Evidence
Possible Solution
make stop parameter optional?
Additional context
.