chore: Tmp add logs in restart run route (#813)

This commit is contained in:
Brace Sproul 2025-08-29 17:13:29 -07:00 • committed by GitHub
parent 59db158190
commit 8c1fbfac3c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,