mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 11:33:14 +00:00
chore: Tmp add logs in restart run route (#813)
This commit is contained in:
parent
59db158190
commit
8c1fbfac3c
1 changed files with 8 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue