File tree 2 files changed +4
-8
lines changed
packages/plugin-bootstrap/src/evaluators
2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 4
4
"preinstall" : " npx only-allow pnpm" ,
5
5
"build" : " turbo run build --filter=!eliza-docs" ,
6
6
"build-docker" : " turbo run build" ,
7
+ "cleanstart" : " if [ -f agent/data/db.sqlite ]; then rm agent/data/db.sqlite; fi && pnpm --filter \" @elizaos/agent\" start --isRoot" ,
8
+ "cleanstart:debug" : " if [ -f agent/data/db.sqlite ]; then rm agent/data/db.sqlite; fi && cross-env NODE_ENV=development VERBOSE=true DEBUG=eliza:* pnpm --filter \" @elizaos/agent\" start --isRoot" ,
7
9
"start" : " pnpm --filter \" @elizaos/agent\" start --isRoot" ,
8
10
"start:client" : " pnpm --dir client dev" ,
9
11
"start:debug" : " cross-env NODE_ENV=development VERBOSE=true DEBUG=eliza:* pnpm --filter \" @elizaos/agent\" start --isRoot" ,
Original file line number Diff line number Diff line change @@ -55,12 +55,6 @@ async function handler(
55
55
state : State | undefined ,
56
56
options : { [ key : string ] : unknown } = { onlyInProgress : true }
57
57
) : Promise < Goal [ ] > {
58
- // get goals
59
- let goalsData = await getGoals ( {
60
- runtime,
61
- roomId : message . roomId ,
62
- onlyInProgress : options . onlyInProgress as boolean ,
63
- } ) ;
64
58
65
59
state = ( await runtime . composeState ( message ) ) as State ;
66
60
const context = composeContext ( {
@@ -79,10 +73,10 @@ async function handler(
79
73
const updates = parseJsonArrayFromText ( response ) ;
80
74
81
75
// get goals
82
- goalsData = await getGoals ( {
76
+ const goalsData = await getGoals ( {
83
77
runtime,
84
78
roomId : message . roomId ,
85
- onlyInProgress : true ,
79
+ onlyInProgress : options . onlyInProgress as boolean ,
86
80
} ) ;
87
81
88
82
// Apply the updates to the goals
You can’t perform that action at this time.
0 commit comments