mirror of
https://github.com/langchain-ai/llmanager.git
synced 2026-06-30 20:57:54 -04:00
cr
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
@@ -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"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user