@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/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,