@ai-sdk/openai-compatible
Advanced tools
Comparing version 0.1.2 to 0.1.3
# @ai-sdk/openai-compatible | ||
## 0.1.3 | ||
### Patch Changes | ||
- 361fd08: chore: update a few add'l processor references to extractor | ||
## 0.1.2 | ||
@@ -4,0 +10,0 @@ |
@@ -78,6 +78,7 @@ import { LanguageModelV1ProviderMetadata, LanguageModelV1, LanguageModelV1ObjectGenerationMode, EmbeddingModelV1, ProviderV1 } from '@ai-sdk/provider'; | ||
/** | ||
* Creates a streaming metadata processor that can accumulate and process chunks | ||
* of a streaming response. Used to build metadata progressively during streaming. | ||
* Creates an extractor for handling streaming responses. The returned object provides | ||
* methods to process individual chunks and build the final metadata from the accumulated | ||
* stream data. | ||
* | ||
* @returns A new StreamingMetadataProcessor instance | ||
* @returns An object with methods to process chunks and build metadata from a stream | ||
*/ | ||
@@ -84,0 +85,0 @@ createStreamExtractor: () => { |
@@ -84,6 +84,7 @@ import { JSONValue, LanguageModelV1Prompt, LanguageModelV1FinishReason, LanguageModelV1ProviderMetadata, LanguageModelV1ObjectGenerationMode } from '@ai-sdk/provider'; | ||
/** | ||
* Creates a streaming metadata processor that can accumulate and process chunks | ||
* of a streaming response. Used to build metadata progressively during streaming. | ||
* Creates an extractor for handling streaming responses. The returned object provides | ||
* methods to process individual chunks and build the final metadata from the accumulated | ||
* stream data. | ||
* | ||
* @returns A new StreamingMetadataProcessor instance | ||
* @returns An object with methods to process chunks and build metadata from a stream | ||
*/ | ||
@@ -90,0 +91,0 @@ createStreamExtractor: () => { |
{ | ||
"name": "@ai-sdk/openai-compatible", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
299936
3068