@agent-smith/cli 0.0.90 → 0.0.91
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/cmd/lib/tasks/conf.js +0 -11
- package/package.json +1 -1
|
@@ -71,17 +71,6 @@ function configureTaskModel(itConf, taskSpec) {
|
|
|
71
71
|
if (!foundModel) {
|
|
72
72
|
throw new Error(`No model found in task`);
|
|
73
73
|
}
|
|
74
|
-
if (!foundTemplate) {
|
|
75
|
-
const gt = tfm.guess(model.name);
|
|
76
|
-
if (gt == "none") {
|
|
77
|
-
throw new Error(`Unable to guess the template for ${model.name}: please provide a template name: --tpl templatename`);
|
|
78
|
-
}
|
|
79
|
-
model.template = gt;
|
|
80
|
-
foundTemplate = true;
|
|
81
|
-
}
|
|
82
|
-
if (!model?.template) {
|
|
83
|
-
throw new Error(`No template found`);
|
|
84
|
-
}
|
|
85
74
|
if (!model?.ctx || !isModelFromTaskFile) {
|
|
86
75
|
model.ctx = taskSpec.ctx;
|
|
87
76
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@agent-smith/cli",
|
|
3
3
|
"description": "Agent Smith: terminal client for language model agents",
|
|
4
4
|
"repository": "https://github.com/synw/agent-smith",
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.91",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"buildrl": "rm -rf dist/* && rollup -c",
|
|
8
8
|
"build": "rm -rf dist/* && tsc",
|