18 lines
451 B
TypeScript
18 lines
451 B
TypeScript
// 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
|
||
|
|
}
|
||
|
|
|