@effect/ai 0.2.13 → 0.2.15
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/dist/dts/AiChat.d.ts +1 -1
- package/package.json +3 -3
package/dist/dts/AiChat.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { AiResponse, WithResolved } from "./AiResponse.js";
|
|
|
8
8
|
import type * as AiToolkit from "./AiToolkit.js";
|
|
9
9
|
import { Completions } from "./Completions.js";
|
|
10
10
|
declare const AiChat_base: import("effect/Context").TagClass<AiChat, "@effect/ai/AiChat", AiChat.Service> & Effect.Tag.Proxy<AiChat, AiChat.Service> & {
|
|
11
|
-
use: <X>(body: (_: AiChat.Service) => X) => X extends Effect.Effect<infer A, infer E, infer R> ? Effect.Effect<A, E, AiChat | R> : Effect.Effect<X, never, AiChat>;
|
|
11
|
+
use: <X>(body: (_: AiChat.Service) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, AiChat | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1, import("effect/Cause").UnknownException, AiChat> : Effect.Effect<X, never, AiChat>;
|
|
12
12
|
};
|
|
13
13
|
/**
|
|
14
14
|
* @since 1.0.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect/ai",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.15",
|
|
4
4
|
"description": "Effect modules for working with AI apis",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"sideEffects": [],
|
|
12
12
|
"dependencies": {},
|
|
13
13
|
"peerDependencies": {
|
|
14
|
-
"@effect/platform": "^0.69.
|
|
15
|
-
"effect": "^3.10.
|
|
14
|
+
"@effect/platform": "^0.69.15",
|
|
15
|
+
"effect": "^3.10.9"
|
|
16
16
|
},
|
|
17
17
|
"publishConfig": {
|
|
18
18
|
"provenance": true
|