@reverbia/sdk 1.0.0-next.20251218195705 → 1.0.0-next.20251218225706
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/expo/index.cjs +3 -2
- package/dist/expo/index.mjs +3 -2
- package/dist/react/index.cjs +3 -2
- package/dist/react/index.mjs +3 -2
- package/package.json +1 -1
package/dist/expo/index.cjs
CHANGED
|
@@ -785,7 +785,8 @@ function useChatStorage(options) {
|
|
|
785
785
|
conversationId: convId,
|
|
786
786
|
role: "user",
|
|
787
787
|
content,
|
|
788
|
-
files: sanitizedFiles
|
|
788
|
+
files: sanitizedFiles,
|
|
789
|
+
model
|
|
789
790
|
});
|
|
790
791
|
} catch (err) {
|
|
791
792
|
return {
|
|
@@ -853,7 +854,7 @@ function useChatStorage(options) {
|
|
|
853
854
|
conversationId: convId,
|
|
854
855
|
role: "assistant",
|
|
855
856
|
content: assistantContent,
|
|
856
|
-
model: responseData.model,
|
|
857
|
+
model: responseData.model || model,
|
|
857
858
|
usage: convertUsageToStored(responseData.usage),
|
|
858
859
|
responseDuration
|
|
859
860
|
});
|
package/dist/expo/index.mjs
CHANGED
|
@@ -749,7 +749,8 @@ function useChatStorage(options) {
|
|
|
749
749
|
conversationId: convId,
|
|
750
750
|
role: "user",
|
|
751
751
|
content,
|
|
752
|
-
files: sanitizedFiles
|
|
752
|
+
files: sanitizedFiles,
|
|
753
|
+
model
|
|
753
754
|
});
|
|
754
755
|
} catch (err) {
|
|
755
756
|
return {
|
|
@@ -817,7 +818,7 @@ function useChatStorage(options) {
|
|
|
817
818
|
conversationId: convId,
|
|
818
819
|
role: "assistant",
|
|
819
820
|
content: assistantContent,
|
|
820
|
-
model: responseData.model,
|
|
821
|
+
model: responseData.model || model,
|
|
821
822
|
usage: convertUsageToStored(responseData.usage),
|
|
822
823
|
responseDuration
|
|
823
824
|
});
|
package/dist/react/index.cjs
CHANGED
|
@@ -2293,7 +2293,8 @@ function useChatStorage(options) {
|
|
|
2293
2293
|
conversationId: convId,
|
|
2294
2294
|
role: "user",
|
|
2295
2295
|
content,
|
|
2296
|
-
files: sanitizedFiles
|
|
2296
|
+
files: sanitizedFiles,
|
|
2297
|
+
model
|
|
2297
2298
|
});
|
|
2298
2299
|
} catch (err) {
|
|
2299
2300
|
return {
|
|
@@ -2372,7 +2373,7 @@ function useChatStorage(options) {
|
|
|
2372
2373
|
conversationId: convId,
|
|
2373
2374
|
role: "assistant",
|
|
2374
2375
|
content: assistantContent,
|
|
2375
|
-
model: responseData.model,
|
|
2376
|
+
model: responseData.model || model,
|
|
2376
2377
|
usage: convertUsageToStored(responseData.usage),
|
|
2377
2378
|
responseDuration,
|
|
2378
2379
|
sources
|
package/dist/react/index.mjs
CHANGED
|
@@ -2219,7 +2219,8 @@ function useChatStorage(options) {
|
|
|
2219
2219
|
conversationId: convId,
|
|
2220
2220
|
role: "user",
|
|
2221
2221
|
content,
|
|
2222
|
-
files: sanitizedFiles
|
|
2222
|
+
files: sanitizedFiles,
|
|
2223
|
+
model
|
|
2223
2224
|
});
|
|
2224
2225
|
} catch (err) {
|
|
2225
2226
|
return {
|
|
@@ -2298,7 +2299,7 @@ function useChatStorage(options) {
|
|
|
2298
2299
|
conversationId: convId,
|
|
2299
2300
|
role: "assistant",
|
|
2300
2301
|
content: assistantContent,
|
|
2301
|
-
model: responseData.model,
|
|
2302
|
+
model: responseData.model || model,
|
|
2302
2303
|
usage: convertUsageToStored(responseData.usage),
|
|
2303
2304
|
responseDuration,
|
|
2304
2305
|
sources
|