@effect/ai-openai 0.28.1 → 0.28.2

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.1",
3
+ "version": "0.28.2",
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.0",
18
- "@effect/experimental": "^0.54.3",
19
- "@effect/platform": "^0.90.0",
20
- "effect": "^3.17.6"
17
+ "@effect/ai": "^0.25.2",
18
+ "@effect/experimental": "^0.54.4",
19
+ "@effect/platform": "^0.90.1",
20
+ "effect": "^3.17.7"
21
21
  },
22
22
  "publishConfig": {
23
23
  "provenance": true
package/src/Generated.ts CHANGED
@@ -374,7 +374,7 @@ export class AssistantSupportedModels extends S.Literal(
374
374
  * reasoning effort can result in faster responses and fewer tokens used
375
375
  * on reasoning in a response.
376
376
  */
377
- export class ReasoningEffort extends S.Literal("low", "medium", "high") {}
377
+ export class ReasoningEffort extends S.Literal("minimal", "low", "medium", "high") {}
378
378
 
379
379
  export class CreateAssistantRequest extends S.Class<CreateAssistantRequest>("CreateAssistantRequest")({
380
380
  /**
@@ -2065,6 +2065,12 @@ export class CreateChatCompletionRequest extends S.Class<CreateChatCompletionReq
2065
2065
  "model": ModelIdsShared,
2066
2066
  "modalities": S.optionalWith(ResponseModalities, { nullable: true }),
2067
2067
  "reasoning_effort": S.optionalWith(ReasoningEffort, { nullable: true, default: () => "medium" as const }),
2068
+ /**
2069
+ * Constrains the verbosity of the model's response. Lower values will result
2070
+ * in more concise responseswhile higher values will result in more verbose
2071
+ * responses.
2072
+ */
2073
+ "verbosity": S.optionalWith(S.Literal("low", "medium", "high"), { nullable: true, default: () => "medium" as const }),
2068
2074
  /**
2069
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).
2070
2076
  */