@mutagent/cli 0.1.22 → 0.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/cli.js +3 -2
- package/dist/bin/cli.js.map +3 -3
- package/package.json +2 -2
package/dist/bin/cli.js
CHANGED
|
@@ -3709,7 +3709,8 @@ Example JSON (--data flag):
|
|
|
3709
3709
|
delete c.scoringRubric;
|
|
3710
3710
|
}
|
|
3711
3711
|
if (c.targetField && !c.evaluationParameter) {
|
|
3712
|
-
|
|
3712
|
+
const tf = c.targetField;
|
|
3713
|
+
c.evaluationParameter = tf.startsWith("output.") ? tf.slice("output.".length) : tf.startsWith("input.") ? tf.slice("input.".length) : tf;
|
|
3713
3714
|
delete c.targetField;
|
|
3714
3715
|
}
|
|
3715
3716
|
const hasDescription = c.description;
|
|
@@ -6736,5 +6737,5 @@ program.addCommand(createSkillsCommand());
|
|
|
6736
6737
|
program.addCommand(createUsageCommand());
|
|
6737
6738
|
program.parse();
|
|
6738
6739
|
|
|
6739
|
-
//# debugId=
|
|
6740
|
+
//# debugId=C797200705360DE264756E2164756E21
|
|
6740
6741
|
//# sourceMappingURL=cli.js.map
|