@voltagent/core 0.1.33 → 0.1.34
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.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3362,6 +3362,7 @@ var LibSQLStorage = class {
|
|
|
3362
3362
|
yield this.initialized;
|
|
3363
3363
|
yield debugDelay();
|
|
3364
3364
|
const tableName = `${this.options.tablePrefix}_messages`;
|
|
3365
|
+
const contentString = JSON.stringify(message.content);
|
|
3365
3366
|
try {
|
|
3366
3367
|
yield this.client.execute({
|
|
3367
3368
|
sql: `INSERT INTO ${tableName} (conversation_id, message_id, role, content, type, created_at)
|
|
@@ -3370,7 +3371,7 @@ var LibSQLStorage = class {
|
|
|
3370
3371
|
conversationId,
|
|
3371
3372
|
message.id,
|
|
3372
3373
|
message.role,
|
|
3373
|
-
|
|
3374
|
+
contentString,
|
|
3374
3375
|
message.type,
|
|
3375
3376
|
message.createdAt
|
|
3376
3377
|
]
|