refreshCapabilities method

void refreshCapabilities()

Drops every cached chain wrapper so the next run rebuilds its models through the CURRENT capability override layer (gh-1426: the settings flow calls this after a models.overrides write — a run already streaming keeps its resolved caps, the next run picks the edit up).

Implementation

void refreshCapabilities() {
  _wrappers.clear();
}