@effect/ai-openrouter 4.0.0-beta.71 → 4.0.0-beta.72
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/OpenRouterClient.d.ts +2 -2
- package/dist/OpenRouterClient.js +1 -1
- package/dist/OpenRouterConfig.d.ts +1 -1
- package/dist/OpenRouterConfig.js +1 -1
- package/dist/OpenRouterLanguageModel.d.ts +1 -1
- package/dist/OpenRouterLanguageModel.js +1 -1
- package/package.json +3 -3
- package/src/OpenRouterClient.ts +2 -2
- package/src/OpenRouterConfig.ts +1 -1
- package/src/OpenRouterLanguageModel.ts +1 -1
|
@@ -69,7 +69,7 @@ export interface Service {
|
|
|
69
69
|
export type ChatStreamingResponseChunkData = typeof Generated.ChatStreamingResponseChunk.fields.data.Type;
|
|
70
70
|
declare const OpenRouterClient_base: Context.ServiceClass<OpenRouterClient, "@effect/ai-openrouter/OpenRouterClient", Service>;
|
|
71
71
|
/**
|
|
72
|
-
* Service
|
|
72
|
+
* Service tag for the OpenRouter client.
|
|
73
73
|
*
|
|
74
74
|
* **When to use**
|
|
75
75
|
*
|
|
@@ -86,7 +86,7 @@ declare const OpenRouterClient_base: Context.ServiceClass<OpenRouterClient, "@ef
|
|
|
86
86
|
export declare class OpenRouterClient extends OpenRouterClient_base {
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
89
|
-
* Configuration
|
|
89
|
+
* Configuration for creating an OpenRouter client.
|
|
90
90
|
*
|
|
91
91
|
* @category models
|
|
92
92
|
* @since 4.0.0
|
package/dist/OpenRouterClient.js
CHANGED
|
@@ -16,7 +16,7 @@ import { OpenRouterConfig } from "./OpenRouterConfig.js";
|
|
|
16
16
|
// Service Identifier
|
|
17
17
|
// =============================================================================
|
|
18
18
|
/**
|
|
19
|
-
* Service
|
|
19
|
+
* Service tag for the OpenRouter client.
|
|
20
20
|
*
|
|
21
21
|
* **When to use**
|
|
22
22
|
*
|
|
@@ -37,7 +37,7 @@ import * as Effect from "effect/Effect";
|
|
|
37
37
|
import type { HttpClient } from "effect/unstable/http/HttpClient";
|
|
38
38
|
declare const OpenRouterConfig_base: Context.ServiceClass<OpenRouterConfig, "@effect/ai-openrouter/OpenRouterConfig", OpenRouterConfig.Service>;
|
|
39
39
|
/**
|
|
40
|
-
* Context service
|
|
40
|
+
* Context service for scoped OpenRouter provider configuration used by client
|
|
41
41
|
* operations.
|
|
42
42
|
*
|
|
43
43
|
* **When to use**
|
package/dist/OpenRouterConfig.js
CHANGED
|
@@ -36,7 +36,7 @@ import * as Context from "effect/Context";
|
|
|
36
36
|
import * as Effect from "effect/Effect";
|
|
37
37
|
import { dual } from "effect/Function";
|
|
38
38
|
/**
|
|
39
|
-
* Context service
|
|
39
|
+
* Context service for scoped OpenRouter provider configuration used by client
|
|
40
40
|
* operations.
|
|
41
41
|
*
|
|
42
42
|
* **When to use**
|
|
@@ -99,7 +99,7 @@ declare const Config_base: Context.ServiceClass<Config, "@effect/ai-openrouter/O
|
|
|
99
99
|
readonly strictJsonSchema?: boolean | undefined | undefined;
|
|
100
100
|
}>;
|
|
101
101
|
/**
|
|
102
|
-
*
|
|
102
|
+
* Context service for OpenRouter language model configuration.
|
|
103
103
|
*
|
|
104
104
|
* **When to use**
|
|
105
105
|
*
|
|
@@ -67,7 +67,7 @@ import { OpenRouterClient } from "./OpenRouterClient.js";
|
|
|
67
67
|
// Configuration
|
|
68
68
|
// =============================================================================
|
|
69
69
|
/**
|
|
70
|
-
*
|
|
70
|
+
* Context service for OpenRouter language model configuration.
|
|
71
71
|
*
|
|
72
72
|
* **When to use**
|
|
73
73
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect/ai-openrouter",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.72",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "An OpenRouter provider integration for Effect AI SDK",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"provenance": true
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"effect": "^4.0.0-beta.
|
|
46
|
+
"effect": "^4.0.0-beta.72"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"effect": "^4.0.0-beta.
|
|
49
|
+
"effect": "^4.0.0-beta.72"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"codegen": "effect-utils codegen",
|
package/src/OpenRouterClient.ts
CHANGED
|
@@ -96,7 +96,7 @@ export type ChatStreamingResponseChunkData = typeof Generated.ChatStreamingRespo
|
|
|
96
96
|
// =============================================================================
|
|
97
97
|
|
|
98
98
|
/**
|
|
99
|
-
* Service
|
|
99
|
+
* Service tag for the OpenRouter client.
|
|
100
100
|
*
|
|
101
101
|
* **When to use**
|
|
102
102
|
*
|
|
@@ -120,7 +120,7 @@ export class OpenRouterClient extends Context.Service<
|
|
|
120
120
|
// =============================================================================
|
|
121
121
|
|
|
122
122
|
/**
|
|
123
|
-
* Configuration
|
|
123
|
+
* Configuration for creating an OpenRouter client.
|
|
124
124
|
*
|
|
125
125
|
* @category models
|
|
126
126
|
* @since 4.0.0
|
package/src/OpenRouterConfig.ts
CHANGED
|
@@ -38,7 +38,7 @@ import { dual } from "effect/Function"
|
|
|
38
38
|
import type { HttpClient } from "effect/unstable/http/HttpClient"
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
|
-
* Context service
|
|
41
|
+
* Context service for scoped OpenRouter provider configuration used by client
|
|
42
42
|
* operations.
|
|
43
43
|
*
|
|
44
44
|
* **When to use**
|
|
@@ -77,7 +77,7 @@ import { type ChatStreamingResponseChunkData, OpenRouterClient } from "./OpenRou
|
|
|
77
77
|
// =============================================================================
|
|
78
78
|
|
|
79
79
|
/**
|
|
80
|
-
*
|
|
80
|
+
* Context service for OpenRouter language model configuration.
|
|
81
81
|
*
|
|
82
82
|
* **When to use**
|
|
83
83
|
*
|