Skip to content

API allows temperature of -1 #893

@phgas

Description

@phgas

While playing around with Postman, I randomly discovered you can set the temperature to -1:

{
    "type": "error",
    "error": {
        "type": "invalid_request_error",
        "message": "temperature: range: -1 or 0..1"
    }
}

Surprisingly setting the temperature to -1 doesn't trigger an error, even though your documentation specifies a valid range of (0,1).

Defaults to `1.0`. Ranges from `0.0` to `1.0`. Use `temperature` closer to `0.0`

Why is this the case?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions