@ai-sdk/openai-compatible 0.1.2 → 0.1.3
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/CHANGELOG.md +6 -0
- package/dist/index.d.mts +4 -3
- package/dist/index.d.ts +4 -3
- package/internal/dist/index.d.mts +4 -3
- package/internal/dist/index.d.ts +4 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
@@ -75,10 +75,11 @@ type MetadataExtractor = {
|
|
75
75
|
parsedBody: unknown;
|
76
76
|
}) => LanguageModelV1ProviderMetadata | undefined;
|
77
77
|
/**
|
78
|
-
* Creates
|
79
|
-
*
|
78
|
+
* Creates an extractor for handling streaming responses. The returned object provides
|
79
|
+
* methods to process individual chunks and build the final metadata from the accumulated
|
80
|
+
* stream data.
|
80
81
|
*
|
81
|
-
* @returns
|
82
|
+
* @returns An object with methods to process chunks and build metadata from a stream
|
82
83
|
*/
|
83
84
|
createStreamExtractor: () => {
|
84
85
|
/**
|
package/dist/index.d.ts
CHANGED
@@ -75,10 +75,11 @@ type MetadataExtractor = {
|
|
75
75
|
parsedBody: unknown;
|
76
76
|
}) => LanguageModelV1ProviderMetadata | undefined;
|
77
77
|
/**
|
78
|
-
* Creates
|
79
|
-
*
|
78
|
+
* Creates an extractor for handling streaming responses. The returned object provides
|
79
|
+
* methods to process individual chunks and build the final metadata from the accumulated
|
80
|
+
* stream data.
|
80
81
|
*
|
81
|
-
* @returns
|
82
|
+
* @returns An object with methods to process chunks and build metadata from a stream
|
82
83
|
*/
|
83
84
|
createStreamExtractor: () => {
|
84
85
|
/**
|
@@ -81,10 +81,11 @@ type MetadataExtractor = {
|
|
81
81
|
parsedBody: unknown;
|
82
82
|
}) => LanguageModelV1ProviderMetadata | undefined;
|
83
83
|
/**
|
84
|
-
* Creates
|
85
|
-
*
|
84
|
+
* Creates an extractor for handling streaming responses. The returned object provides
|
85
|
+
* methods to process individual chunks and build the final metadata from the accumulated
|
86
|
+
* stream data.
|
86
87
|
*
|
87
|
-
* @returns
|
88
|
+
* @returns An object with methods to process chunks and build metadata from a stream
|
88
89
|
*/
|
89
90
|
createStreamExtractor: () => {
|
90
91
|
/**
|
package/internal/dist/index.d.ts
CHANGED
@@ -81,10 +81,11 @@ type MetadataExtractor = {
|
|
81
81
|
parsedBody: unknown;
|
82
82
|
}) => LanguageModelV1ProviderMetadata | undefined;
|
83
83
|
/**
|
84
|
-
* Creates
|
85
|
-
*
|
84
|
+
* Creates an extractor for handling streaming responses. The returned object provides
|
85
|
+
* methods to process individual chunks and build the final metadata from the accumulated
|
86
|
+
* stream data.
|
86
87
|
*
|
87
|
-
* @returns
|
88
|
+
* @returns An object with methods to process chunks and build metadata from a stream
|
88
89
|
*/
|
89
90
|
createStreamExtractor: () => {
|
90
91
|
/**
|