@effect/ai-openai 0.28.2 → 0.29.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect/ai-openai",
3
- "version": "0.28.2",
3
+ "version": "0.29.1",
4
4
  "description": "Effect modules for working with AI apis",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -14,10 +14,10 @@
14
14
  "gpt-tokenizer": "^2.9.0"
15
15
  },
16
16
  "peerDependencies": {
17
- "@effect/ai": "^0.25.2",
18
- "@effect/experimental": "^0.54.4",
19
- "@effect/platform": "^0.90.1",
20
- "effect": "^3.17.7"
17
+ "@effect/ai": "^0.26.0",
18
+ "@effect/experimental": "^0.54.6",
19
+ "@effect/platform": "^0.90.6",
20
+ "effect": "^3.17.10"
21
21
  },
22
22
  "publishConfig": {
23
23
  "provenance": true
package/src/Generated.ts CHANGED
@@ -779,7 +779,7 @@ export class CreateTranscriptionResponseVerboseJson
779
779
  {}
780
780
 
781
781
  export class CreateTranscription200
782
- extends S.Union(CreateTranscriptionResponseJson, CreateTranscriptionResponseVerboseJson)
782
+ extends S.Union(CreateTranscriptionResponseVerboseJson, CreateTranscriptionResponseJson)
783
783
  {}
784
784
 
785
785
  export class CreateTranslationRequestModelEnum extends S.Literal("whisper-1") {}
@@ -2064,13 +2064,13 @@ export class CreateChatCompletionRequest extends S.Class<CreateChatCompletionReq
2064
2064
  */
2065
2065
  "model": ModelIdsShared,
2066
2066
  "modalities": S.optionalWith(ResponseModalities, { nullable: true }),
2067
- "reasoning_effort": S.optionalWith(ReasoningEffort, { nullable: true, default: () => "medium" as const }),
2068
2067
  /**
2069
2068
  * Constrains the verbosity of the model's response. Lower values will result
2070
2069
  * in more concise responseswhile higher values will result in more verbose
2071
2070
  * responses.
2072
2071
  */
2073
2072
  "verbosity": S.optionalWith(S.Literal("low", "medium", "high"), { nullable: true, default: () => "medium" as const }),
2073
+ "reasoning_effort": S.optionalWith(ReasoningEffort, { nullable: true, default: () => "medium" as const }),
2074
2074
  /**
2075
2075
  * An upper bound for the number of tokens that can be generated for a completion, including visible output tokens and [reasoning tokens](/docs/guides/reasoning).
2076
2076
  */