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

Method constructor

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

Source from the content-addressed store, hash-verified

159
160export class FallbackTriggeredError extends Error {
161 constructor(
162 public readonly originalModel: string,
163 public readonly fallbackModel: string,
164 ) {
165 super(`Model fallback triggered: ${originalModel} -> ${fallbackModel}`)
166 this.name = 'FallbackTriggeredError'
167 }
168}
169
170export async function* withRetry<T>(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected