@moxt-ai/mobius 0.0.56 → 0.0.57
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/cli.js +13 -2
- package/dist/cli.js.map +2 -2
- package/dist/index.js +12 -1
- package/dist/index.js.map +2 -2
- package/dist/run-daemon.d.ts.map +1 -1
- package/dist/run-daemon.js +17 -1
- package/dist/run-daemon.js.map +1 -1
- package/dist/runtime.js +12 -1
- package/dist/runtime.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -40364,8 +40364,19 @@ async function discoverModelEffort(command, agent, resolution, initialOptions, s
|
|
|
40364
40364
|
}
|
|
40365
40365
|
const selectedEffort2 = effortOption(selectedOptions);
|
|
40366
40366
|
valuesByModel[command.model] = selectedEffort2?.type === "select" ? selectedEffort2.values : [];
|
|
40367
|
+
return {
|
|
40368
|
+
effortSettingId: selectedEffort2?.id ?? "",
|
|
40369
|
+
modelSettingId: model.id,
|
|
40370
|
+
resolution: "on_model_selection",
|
|
40371
|
+
valuesByModel
|
|
40372
|
+
};
|
|
40373
|
+
}
|
|
40374
|
+
const defaultModel = model.type === "select" ? model.currentValue : "";
|
|
40375
|
+
const reportedEffort = effortOption(selectedOptions);
|
|
40376
|
+
const selectedEffort = defaultModel.length > 0 && reportedEffort === void 0 ? effortOption(await inspectModel(defaultModel)) : reportedEffort;
|
|
40377
|
+
if (defaultModel.length > 0) {
|
|
40378
|
+
valuesByModel[defaultModel] = selectedEffort?.type === "select" ? selectedEffort.values : [];
|
|
40367
40379
|
}
|
|
40368
|
-
const selectedEffort = effortOption(selectedOptions);
|
|
40369
40380
|
return {
|
|
40370
40381
|
effortSettingId: selectedEffort?.id ?? "",
|
|
40371
40382
|
modelSettingId: model.id,
|