@reverbia/sdk 1.0.0-next.20251120124145 → 1.0.0-next.20251121094738
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 +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/react/index.cjs +1446 -5
- package/dist/react/index.d.mts +106 -1
- package/dist/react/index.d.ts +106 -1
- package/dist/react/index.mjs +1431 -4
- package/package.json +6 -4
package/dist/index.d.mts
CHANGED
|
@@ -342,7 +342,7 @@ type PostApiV1ChatCompletionsResponses = {
|
|
|
342
342
|
/**
|
|
343
343
|
* OK
|
|
344
344
|
*/
|
|
345
|
-
200: LlmapiChatCompletionResponse;
|
|
345
|
+
200: LlmapiChatCompletionResponse | string;
|
|
346
346
|
};
|
|
347
347
|
type PostApiV1ChatCompletionsResponse = PostApiV1ChatCompletionsResponses[keyof PostApiV1ChatCompletionsResponses];
|
|
348
348
|
type PostApiV1EmbeddingsData = {
|
|
@@ -735,7 +735,7 @@ type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean
|
|
|
735
735
|
/**
|
|
736
736
|
* Create chat completion
|
|
737
737
|
*
|
|
738
|
-
* Generates a chat completion using the configured gateway.
|
|
738
|
+
* Generates a chat completion using the configured gateway. Supports streaming when stream=true.
|
|
739
739
|
*/
|
|
740
740
|
declare const postApiV1ChatCompletions: <ThrowOnError extends boolean = false>(options: Options<PostApiV1ChatCompletionsData, ThrowOnError>) => RequestResult<PostApiV1ChatCompletionsResponses, PostApiV1ChatCompletionsErrors, ThrowOnError>;
|
|
741
741
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -342,7 +342,7 @@ type PostApiV1ChatCompletionsResponses = {
|
|
|
342
342
|
/**
|
|
343
343
|
* OK
|
|
344
344
|
*/
|
|
345
|
-
200: LlmapiChatCompletionResponse;
|
|
345
|
+
200: LlmapiChatCompletionResponse | string;
|
|
346
346
|
};
|
|
347
347
|
type PostApiV1ChatCompletionsResponse = PostApiV1ChatCompletionsResponses[keyof PostApiV1ChatCompletionsResponses];
|
|
348
348
|
type PostApiV1EmbeddingsData = {
|
|
@@ -735,7 +735,7 @@ type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean
|
|
|
735
735
|
/**
|
|
736
736
|
* Create chat completion
|
|
737
737
|
*
|
|
738
|
-
* Generates a chat completion using the configured gateway.
|
|
738
|
+
* Generates a chat completion using the configured gateway. Supports streaming when stream=true.
|
|
739
739
|
*/
|
|
740
740
|
declare const postApiV1ChatCompletions: <ThrowOnError extends boolean = false>(options: Options<PostApiV1ChatCompletionsData, ThrowOnError>) => RequestResult<PostApiV1ChatCompletionsResponses, PostApiV1ChatCompletionsErrors, ThrowOnError>;
|
|
741
741
|
/**
|