File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -328,17 +328,6 @@ type ChatCompletionRequest struct {
328
328
ChatCompletionRequestExtensions
329
329
}
330
330
331
- // MarshalJSON ensures we don't send both the legacy flat reasoning_effort and the new nested reasoning simultaneously.
332
- // If Reasoning is provided, the legacy ReasoningEffort is omitted to match current API guidance.
333
- func (r ChatCompletionRequest ) MarshalJSON () ([]byte , error ) {
334
- type Alias ChatCompletionRequest
335
- aux := Alias (r )
336
- if r .Reasoning != nil {
337
- aux .ReasoningEffort = ""
338
- }
339
- return json .Marshal (aux )
340
- }
341
-
342
331
type StreamOptions struct {
343
332
// If set, an additional chunk will be streamed before the data: [DONE] message.
344
333
// The usage field on this chunk shows the token usage statistics for the entire request,
You can’t perform that action at this time.
0 commit comments