Skip to content

Remove default temp in OpenAiChatProperties #4999

@markpollack

Description

@markpollack

This was a mistake that was baked into spring ai from the start - my fault - there should be no default value for temperature. Over time there have been models from openai released where 0.7 isn't a valid temp. the default value should be whatever the models default is, so no value hsould be sent explicitly on the wire to openai api unless the user sets the temp.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions