UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

3 lines • 459 B
import{o as resolveGlobalSingleton}from"./global-singleton-DolL9xGt.mjs"; //!src/agents/model-fallback-stop.ts const modelFallbackStops=resolveGlobalSingleton(Symbol.for(`openclaw.modelFallbackStops`),()=>/* @__PURE__ */ new WeakSet);function recordModelFallbackStop(e){modelFallbackStops.add(e)}function isRecordedModelFallbackStop(e){return e instanceof Error&&modelFallbackStops.has(e)}export{recordModelFallbackStop as n,isRecordedModelFallbackStop as t};