@dudousxd/nestjs-agent-store-drizzle 0.20.0 → 0.20.1
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -541,7 +541,7 @@ var DrizzleAgentStore = class {
|
|
|
541
541
|
async createThread(input) {
|
|
542
542
|
const now = /* @__PURE__ */ new Date();
|
|
543
543
|
const thread = {
|
|
544
|
-
id: crypto.randomUUID(),
|
|
544
|
+
id: input.id ?? crypto.randomUUID(),
|
|
545
545
|
actorRef: input.actor.id,
|
|
546
546
|
tenantRef: input.actor.tenantRef ?? null,
|
|
547
547
|
title: input.title ?? "New chat",
|