File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
genkit-tools/cli/src/commands Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -93,9 +93,12 @@ export const evalFlow = new Command('eval:flow')
93
93
if ( ! options . evaluators ) {
94
94
evaluatorActions = await getAllEvaluatorActions ( manager ) ;
95
95
} else {
96
+ const evalActionKeys = options . evaluators
97
+ . split ( ',' )
98
+ . map ( ( k ) => `/evaluator/${ k } ` ) ;
96
99
evaluatorActions = await getMatchingEvaluatorActions (
97
100
manager ,
98
- options . evaluators . split ( ',' )
101
+ evalActionKeys
99
102
) ;
100
103
}
101
104
logger . debug (
Original file line number Diff line number Diff line change @@ -71,9 +71,12 @@ export const evalRun = new Command('eval:run')
71
71
if ( ! options . evaluators ) {
72
72
evaluatorActions = await getAllEvaluatorActions ( manager ) ;
73
73
} else {
74
+ const evalActionKeys = options . evaluators
75
+ . split ( ',' )
76
+ . map ( ( k ) => `/evaluator/${ k } ` ) ;
74
77
evaluatorActions = await getMatchingEvaluatorActions (
75
78
manager ,
76
- options . evaluators . split ( ',' )
79
+ evalActionKeys
77
80
) ;
78
81
}
79
82
logger . info (
You can’t perform that action at this time.
0 commit comments