From 8c1fbfac3c86fe990b0aa59b07db470cbfb88211 Mon Sep 17 00:00:00 2001 From: Brace Sproul Date: Fri, 29 Aug 2025 17:13:29 -0700 Subject: [PATCH] chore: Tmp add logs in restart run route (#813) --- apps/web/src/app/api/restart-run/route.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apps/web/src/app/api/restart-run/route.ts b/apps/web/src/app/api/restart-run/route.ts index f99e6e80..f2639745 100644 --- a/apps/web/src/app/api/restart-run/route.ts +++ b/apps/web/src/app/api/restart-run/route.ts @@ -1,3 +1,4 @@ +/* eslint-disable no-console */ import { v4 as uuidv4 } from "uuid"; import { GITHUB_TOKEN_COOKIE, @@ -70,6 +71,13 @@ async function createNewSession( const newThreadId = uuidv4(); const hasNext = inputs.threadState.next.length > 0; + console.log("\n\nCONFIG"); + console.dir(getCustomConfigurableFields(inputs.threadConfig), { + depth: null, + }); + console.log("\n\nCONFIGURABLE"); + console.dir(inputs.threadConfig.configurable, { depth: null }); + const run = await client.runs.create(newThreadId, inputs.graphId, { command: { update: inputs.threadState.values,