@dreb/coding-agent 2.71.0 → 2.72.0

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.
@@ -3229,11 +3229,15 @@ export class InteractiveMode {
3229
3229
  this.showError(`Dispatch Arbiter model "${settings.model}" is not available.`);
3230
3230
  return false;
3231
3231
  }
3232
- const thinking = settings.thinking ?? "off";
3233
- const thinkingValidation = validateThinkingLevelForModel(arbiterModel, thinking);
3234
- if (!thinkingValidation.ok) {
3235
- this.showError(thinkingValidation.error);
3236
- return false;
3232
+ // Only an explicit thinking level is validated. When unset, the arbiter sends no
3233
+ // reasoning and the provider applies the model's thinking-off config (matches RPC
3234
+ // and the runtime arbiter).
3235
+ if (settings.thinking !== undefined) {
3236
+ const thinkingValidation = validateThinkingLevelForModel(arbiterModel, settings.thinking);
3237
+ if (!thinkingValidation.ok) {
3238
+ this.showError(thinkingValidation.error);
3239
+ return false;
3240
+ }
3237
3241
  }
3238
3242
  try {
3239
3243
  loadAndValidateModelRoutingGuide(settings.guidePath, process.cwd(), this.session.scopedModels.map(({ model }) => `${model.provider}/${model.id}`));