@dudousxd/nestjs-agent-store-drizzle 0.20.0 → 0.20.2

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 CHANGED
@@ -582,7 +582,7 @@ var DrizzleAgentStore = class {
582
582
  async createThread(input) {
583
583
  const now = /* @__PURE__ */ new Date();
584
584
  const thread = {
585
- id: crypto.randomUUID(),
585
+ id: input.id ?? crypto.randomUUID(),
586
586
  actorRef: input.actor.id,
587
587
  tenantRef: input.actor.tenantRef ?? null,
588
588
  title: input.title ?? "New chat",