@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
8 lines • 531 B
TypeScript
import type { AssistantMessage } from "@earendil-works/pi-ai";
/**
* The wall-clock moment (epoch ms) a failed request's limit lifts, when the failure names one:
* the adapter's structured quota/rate-limit reset first, then usage-limit reset prose or fields,
* then a Retry-After hint. Undefined when the failure names no future reset.
*/
export declare function limitResetAt(message: Pick<AssistantMessage, "errorMessage" | "providerDiagnostic">, wallNow: number): number | undefined;
//# sourceMappingURL=limit-reset.d.ts.map