File tree 2 files changed +4
-0
lines changed
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -258,6 +258,8 @@ type ChatCompletionRequest struct {
258
258
// Store can be set to true to store the output of this completion request for use in distillations and evals.
259
259
// https://platform.openai.com/docs/api-reference/chat/create#chat-create-store
260
260
Store bool `json:"store,omitempty"`
261
+ // Controls effort on reasoning for reasoning models. It can be set to "low", "medium", or "high".
262
+ ReasoningEffort string `json:"reasoning_effort,omitempty"`
261
263
// Metadata to store with the completion.
262
264
Metadata map [string ]string `json:"metadata,omitempty"`
263
265
}
Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ const (
29
29
O1Mini20240912 = "o1-mini-2024-09-12"
30
30
O1Preview = "o1-preview"
31
31
O1Preview20240912 = "o1-preview-2024-09-12"
32
+ O1 = "o1"
33
+ O120241217 = "o1-2024-12-17"
32
34
GPT432K0613 = "gpt-4-32k-0613"
33
35
GPT432K0314 = "gpt-4-32k-0314"
34
36
GPT432K = "gpt-4-32k"
You can’t perform that action at this time.
0 commit comments