@reverbia/sdk 1.0.0-next.20251218162622 → 1.0.0-next.20251218224340
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 +2 -1
- package/dist/expo/index.mjs +2 -1
- package/dist/react/index.cjs +4 -2
- package/dist/react/index.mjs +4 -2
- package/package.json +1 -1
package/dist/expo/index.cjs
CHANGED
package/dist/expo/index.mjs
CHANGED
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 {
|
|
@@ -2374,7 +2375,8 @@ function useChatStorage(options) {
|
|
|
2374
2375
|
content: assistantContent,
|
|
2375
2376
|
model: responseData.model,
|
|
2376
2377
|
usage: convertUsageToStored(responseData.usage),
|
|
2377
|
-
responseDuration
|
|
2378
|
+
responseDuration,
|
|
2379
|
+
sources
|
|
2378
2380
|
});
|
|
2379
2381
|
} catch (err) {
|
|
2380
2382
|
return {
|
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 {
|
|
@@ -2300,7 +2301,8 @@ function useChatStorage(options) {
|
|
|
2300
2301
|
content: assistantContent,
|
|
2301
2302
|
model: responseData.model,
|
|
2302
2303
|
usage: convertUsageToStored(responseData.usage),
|
|
2303
|
-
responseDuration
|
|
2304
|
+
responseDuration,
|
|
2305
|
+
sources
|
|
2304
2306
|
});
|
|
2305
2307
|
} catch (err) {
|
|
2306
2308
|
return {
|