You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using OpenAI's o1 model (e.g. o1-2024-12-17), the temperature param is not supported. However, if you want to use the chat method and pass no temperature, it's not currently possible, due to the fallback to DEFAULTS:
Describe the bug
When using OpenAI's o1 model (e.g.
o1-2024-12-17
), thetemperature
param is not supported. However, if you want to use thechat
method and pass no temperature, it's not currently possible, due to the fallback toDEFAULTS
:To Reproduce
Both of the above will end up using the
DEFAULTS
temperature value which is setup inside the internals of the library and cannot be easily overridden.Expected behavior
We probably want something similar to this in how it removes the dimension parameter for a particular model: https://github.com/patterns-ai-core/langchainrb/blob/main/lib/langchain/llm/openai.rb#L86
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: