We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 58571e1 + 35c73d0 commit a605cf3Copy full SHA for a605cf3
1 file changed
src/core/server.ts
@@ -178,7 +178,7 @@ async function handleTrigger(req: Request): Promise<Response> {
178
return Response.json({ status: "error", message: "Missing required field: task" }, { status: 400 });
179
}
180
181
- const conversationId = `trigger:${Date.now()}`;
+ const conversationId = `trigger:${crypto.randomUUID()}`;
182
const source = body.source ?? "http";
183
184
try {
0 commit comments