@reverbia/sdk 1.0.0-next.20251218224340 → 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.
@@ -854,7 +854,7 @@ function useChatStorage(options) {
854
854
  conversationId: convId,
855
855
  role: "assistant",
856
856
  content: assistantContent,
857
- model: responseData.model,
857
+ model: responseData.model || model,
858
858
  usage: convertUsageToStored(responseData.usage),
859
859
  responseDuration
860
860
  });
@@ -818,7 +818,7 @@ function useChatStorage(options) {
818
818
  conversationId: convId,
819
819
  role: "assistant",
820
820
  content: assistantContent,
821
- model: responseData.model,
821
+ model: responseData.model || model,
822
822
  usage: convertUsageToStored(responseData.usage),
823
823
  responseDuration
824
824
  });
@@ -2373,7 +2373,7 @@ function useChatStorage(options) {
2373
2373
  conversationId: convId,
2374
2374
  role: "assistant",
2375
2375
  content: assistantContent,
2376
- model: responseData.model,
2376
+ model: responseData.model || model,
2377
2377
  usage: convertUsageToStored(responseData.usage),
2378
2378
  responseDuration,
2379
2379
  sources
@@ -2299,7 +2299,7 @@ function useChatStorage(options) {
2299
2299
  conversationId: convId,
2300
2300
  role: "assistant",
2301
2301
  content: assistantContent,
2302
- model: responseData.model,
2302
+ model: responseData.model || model,
2303
2303
  usage: convertUsageToStored(responseData.usage),
2304
2304
  responseDuration,
2305
2305
  sources
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reverbia/sdk",
3
- "version": "1.0.0-next.20251218224340",
3
+ "version": "1.0.0-next.20251218225706",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",