fix(mindspace): use UUIDs for repair replies
This commit is contained in:
@@ -646,7 +646,9 @@ export async function maybeRepairPageDataAfterFinish({
|
||||
repairAttemptsBySession.set(key, attempts + 1);
|
||||
|
||||
const prompt = buildPageDataCollectRepairPrompt(afterBind);
|
||||
const requestId = `page-data-repair-${crypto.randomUUID()}`;
|
||||
// goosed validates request_id as a UUID. Keep the repair classification in
|
||||
// message metadata rather than making the request id non-conformant.
|
||||
const requestId = crypto.randomUUID();
|
||||
const userMessage = {
|
||||
role: 'user',
|
||||
content: [{ type: 'text', text: prompt }],
|
||||
|
||||
Reference in New Issue
Block a user