@ai-sdk/provider 0.0.10 → 0.0.11
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 +10 -0
- package/dist/index.d.ts +10 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -54,6 +54,11 @@ type EmbeddingModelV1<VALUE> = {
|
|
54
54
|
Abort signal for cancelling the operation.
|
55
55
|
*/
|
56
56
|
abortSignal?: AbortSignal;
|
57
|
+
/**
|
58
|
+
Additional HTTP headers to be sent with the request.
|
59
|
+
Only applicable for HTTP-based providers.
|
60
|
+
*/
|
61
|
+
headers?: Record<string, string | undefined>;
|
57
62
|
}): PromiseLike<{
|
58
63
|
/**
|
59
64
|
Generated embeddings. They are in the same order as the input values.
|
@@ -501,6 +506,11 @@ type LanguageModelV1CallSettings = {
|
|
501
506
|
Abort signal for cancelling the operation.
|
502
507
|
*/
|
503
508
|
abortSignal?: AbortSignal;
|
509
|
+
/**
|
510
|
+
Additional HTTP headers to be sent with the request.
|
511
|
+
Only applicable for HTTP-based providers.
|
512
|
+
*/
|
513
|
+
headers?: Record<string, string | undefined>;
|
504
514
|
};
|
505
515
|
|
506
516
|
/**
|
package/dist/index.d.ts
CHANGED
@@ -54,6 +54,11 @@ type EmbeddingModelV1<VALUE> = {
|
|
54
54
|
Abort signal for cancelling the operation.
|
55
55
|
*/
|
56
56
|
abortSignal?: AbortSignal;
|
57
|
+
/**
|
58
|
+
Additional HTTP headers to be sent with the request.
|
59
|
+
Only applicable for HTTP-based providers.
|
60
|
+
*/
|
61
|
+
headers?: Record<string, string | undefined>;
|
57
62
|
}): PromiseLike<{
|
58
63
|
/**
|
59
64
|
Generated embeddings. They are in the same order as the input values.
|
@@ -501,6 +506,11 @@ type LanguageModelV1CallSettings = {
|
|
501
506
|
Abort signal for cancelling the operation.
|
502
507
|
*/
|
503
508
|
abortSignal?: AbortSignal;
|
509
|
+
/**
|
510
|
+
Additional HTTP headers to be sent with the request.
|
511
|
+
Only applicable for HTTP-based providers.
|
512
|
+
*/
|
513
|
+
headers?: Record<string, string | undefined>;
|
504
514
|
};
|
505
515
|
|
506
516
|
/**
|