@adonis-agora/agent
Version:
Governed, durable-backed AI agent (chat + tool-calling + governance) for AdonisJS — part of the Agora ecosystem.
11 lines • 498 B
TypeScript
import type { QuotaState, QuotaStore } from '../index.js';
/** In-memory per-actor/day token budget for tests and the offline demo. */
export declare class InMemoryQuotaStore implements QuotaStore {
private readonly limitTokens;
private readonly used;
constructor(limitTokens?: number);
private key;
check(actorRef: string, day: string): Promise<QuotaState>;
bump(actorRef: string, day: string, tokens: number): Promise<void>;
}
//# sourceMappingURL=in-memory-quota.d.ts.map