Files
karate_halloween/lib/ai/circuit-breaker.ts
T

18 lines
451 B
TypeScript
Raw Normal View History

// Provider cooldown is completely disabled: transient failures or safety rejections
// will never lock out the API for subsequent requests.
export function isProviderAvailable(_providerName: string): boolean {
return true;
}
export function triggerCooldown(
_providerName: string,
_durationMinutes: number,
_reason: string
): void {
// No-op: Cooldown disabled
}
export function resetProvider(_providerName: string): void {
// No-op
}