@adaline/provider 0.18.0 → 0.20.0
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/index.d.mts +8 -0
- package/dist/index.d.ts +8 -0
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1735,6 +1735,14 @@ interface ChatModelV1<MS extends ChatModelSchemaType = ChatModelSchemaType> {
|
|
|
1735
1735
|
partialResponse: PartialChatResponseType;
|
|
1736
1736
|
buffer: string;
|
|
1737
1737
|
}>;
|
|
1738
|
+
getProxyStreamChatUrl(data?: any, headers?: Record<string, string>, query?: Record<string, string>): Promise<UrlType>;
|
|
1739
|
+
getProxyStreamChatHeaders(data?: any, headers?: Record<string, string>, query?: Record<string, string>): Promise<HeadersType>;
|
|
1740
|
+
transformProxyStreamChatResponseChunk(chunk: string, buffer: string, data?: any, headers?: Record<string, string>, query?: Record<string, string>): AsyncGenerator<{
|
|
1741
|
+
partialResponse: PartialChatResponseType;
|
|
1742
|
+
buffer: string;
|
|
1743
|
+
}>;
|
|
1744
|
+
getProxyCompleteChatUrl(data?: any, headers?: Record<string, string>, query?: Record<string, string>): Promise<UrlType>;
|
|
1745
|
+
getProxyCompleteChatHeaders(data?: any, headers?: Record<string, string>, query?: Record<string, string>): Promise<HeadersType>;
|
|
1738
1746
|
}
|
|
1739
1747
|
|
|
1740
1748
|
declare const EmbeddingModelSchema: <M extends z.ZodEnum<[string, ...string[]]> = z.ZodEnum<["text", "token"]>>(Modalities?: M) => z.ZodObject<{
|
package/dist/index.d.ts
CHANGED
|
@@ -1735,6 +1735,14 @@ interface ChatModelV1<MS extends ChatModelSchemaType = ChatModelSchemaType> {
|
|
|
1735
1735
|
partialResponse: PartialChatResponseType;
|
|
1736
1736
|
buffer: string;
|
|
1737
1737
|
}>;
|
|
1738
|
+
getProxyStreamChatUrl(data?: any, headers?: Record<string, string>, query?: Record<string, string>): Promise<UrlType>;
|
|
1739
|
+
getProxyStreamChatHeaders(data?: any, headers?: Record<string, string>, query?: Record<string, string>): Promise<HeadersType>;
|
|
1740
|
+
transformProxyStreamChatResponseChunk(chunk: string, buffer: string, data?: any, headers?: Record<string, string>, query?: Record<string, string>): AsyncGenerator<{
|
|
1741
|
+
partialResponse: PartialChatResponseType;
|
|
1742
|
+
buffer: string;
|
|
1743
|
+
}>;
|
|
1744
|
+
getProxyCompleteChatUrl(data?: any, headers?: Record<string, string>, query?: Record<string, string>): Promise<UrlType>;
|
|
1745
|
+
getProxyCompleteChatHeaders(data?: any, headers?: Record<string, string>, query?: Record<string, string>): Promise<HeadersType>;
|
|
1738
1746
|
}
|
|
1739
1747
|
|
|
1740
1748
|
declare const EmbeddingModelSchema: <M extends z.ZodEnum<[string, ...string[]]> = z.ZodEnum<["text", "token"]>>(Modalities?: M) => z.ZodObject<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaline/provider",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"private": false,
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"zod": "^3.23.8",
|
|
49
|
-
"@adaline/types": "0.
|
|
49
|
+
"@adaline/types": "0.18.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@adaline/tsconfig": "0.11.0",
|