@effect/ai-openai 0.1.4 → 0.2.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.1.4",
3
+ "version": "0.2.1",
4
4
  "description": "Effect modules for working with AI apis",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -13,11 +13,10 @@
13
13
  "gpt-tokenizer": "^2.2.3"
14
14
  },
15
15
  "peerDependencies": {
16
- "@effect/ai": "^0.1.4",
17
- "@effect/experimental": "^0.29.6",
18
- "@effect/platform": "^0.68.6",
19
- "@effect/schema": "^0.75.5",
20
- "effect": "^3.9.2"
16
+ "@effect/ai": "^0.2.1",
17
+ "@effect/experimental": "^0.30.1",
18
+ "@effect/platform": "^0.69.1",
19
+ "effect": "^3.10.0"
21
20
  },
22
21
  "publishConfig": {
23
22
  "provenance": true
package/src/Generated.ts CHANGED
@@ -5,9 +5,9 @@ import type * as HttpClient from "@effect/platform/HttpClient"
5
5
  import * as HttpClientError from "@effect/platform/HttpClientError"
6
6
  import * as HttpClientRequest from "@effect/platform/HttpClientRequest"
7
7
  import * as HttpClientResponse from "@effect/platform/HttpClientResponse"
8
- import type { ParseError } from "@effect/schema/ParseResult"
9
- import * as S from "@effect/schema/Schema"
10
8
  import * as Effect from "effect/Effect"
9
+ import type { ParseError } from "effect/ParseResult"
10
+ import * as S from "effect/Schema"
11
11
 
12
12
  export class ChatCompletionRequestMessageContentPartText extends S.Struct({
13
13
  "type": S.Literal("text"),