This commit is contained in:
bracesproul
2025-04-11 13:22:32 -07:00
parent f5831c6759
commit 6c7b514b46
3 changed files with 11 additions and 4 deletions
+4 -2
View File
@@ -90,9 +90,11 @@ jobs:
- name: Build
run: yarn build
- name: Build dev server check script
run: yarn tsc --project tsconfig.json --outDir dist scripts/check-dev-server.ts
run: yarn tsc --module commonjs --outDir dist/scripts scripts/check-dev-server.ts
- name: Rename compiled script to .cjs
run: mv dist/scripts/check-dev-server.js dist/scripts/check-dev-server.cjs
- name: Run dev server check
run: node dist/scripts/check-dev-server.js
run: node dist/scripts/check-dev-server.cjs
env:
NODE_ENV: development
timeout-minutes: 1
+1 -1
View File
@@ -11,7 +11,7 @@ const workflow = new StateGraph(AgentZodState, AgentZodConfiguration)
.addNode("human_node", humanNode, {
// Human node will only reflect if the generated answer is edited/changed.
// If it's accepted as-is, it ends.
ends: ["reflection", END],
// ends: ["reflection", END],
})
.addNode("reflection", reflectionGraph)
.addEdge(START, "initial_reasoning")
+6 -1
View File
@@ -20,6 +20,11 @@
"types": ["jest", "node"],
"resolveJsonModule": true
},
"include": ["**/*.ts", "**/*.js", "jest.setup.cjs"],
"include": [
"**/*.ts",
"**/*.js",
"jest.setup.cjs",
"dist/scripts/check-dev-server.cjs"
],
"exclude": ["node_modules", "dist"]
}