@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.
@@ -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 {
@@ -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 {
@@ -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 {
@@ -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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reverbia/sdk",
3
- "version": "1.0.0-next.20251218162622",
3
+ "version": "1.0.0-next.20251218224340",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",