Skip to content

Commit 2ebc550

Browse files
authored
feat: Add support for minimal reasoning effort in openai_dart (#760)
1 parent 3894da7 commit 2ebc550

File tree

5 files changed

+11
-19
lines changed

5 files changed

+11
-19
lines changed

packages/openai_dart/lib/src/generated/schema/create_chat_completion_request.dart

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/openai_dart/lib/src/generated/schema/reasoning_effort.dart

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/openai_dart/lib/src/generated/schema/schema.freezed.dart

Lines changed: 3 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/openai_dart/lib/src/generated/schema/schema.g.dart

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/openai_dart/oas/openapi_curated.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2650,18 +2650,17 @@ components:
26502650
ReasoningEffort:
26512651
type: string
26522652
enum:
2653+
- minimal
26532654
- low
26542655
- medium
26552656
- high
26562657
# default: medium # Setting a non-null value triggers an error in non-reasoning models
26572658
default: null
26582659
nullable: true
26592660
description: |
2660-
**o1 models only**
2661-
2662-
Constrains effort on reasoning for
2661+
Constrains effort on reasoning for
26632662
[reasoning models](https://platform.openai.com/docs/guides/reasoning).
2664-
Currently supported values are `low`, `medium`, and `high`. Reducing
2663+
Currently supported values are `minimal`, `low`, `medium`, and `high`. Reducing
26652664
reasoning effort can result in faster responses and fewer tokens used
26662665
on reasoning in a response.
26672666
Verbosity:

0 commit comments

Comments
 (0)