MCPcopy Create free account
hub / github.com/Noumena-Network/code / constructor

Method constructor

src/services/api/withRetry.ts:194–200  ·  view source on GitHub ↗
(
    public readonly originalModel: string,
    public readonly fallbackModel: string,
  )

Source from the content-addressed store, hash-verified

192
193export class FallbackTriggeredError extends Error {
194 constructor(
195 public readonly originalModel: string,
196 public readonly fallbackModel: string,
197 ) {
198 super(`Model fallback triggered: ${originalModel} -> ${fallbackModel}`)
199 this.name = 'FallbackTriggeredError'
200 }
201}
202
203export async function* withRetry<T>(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected