UNPKG

@nomyx/assistant

Version:

A powerful assistant library and cli for your AI projects. works with Vertex AI (Claude and Gemini)

11 lines (10 loc) 379 B
import { ProviderResponse } from '../../../types/chat'; import { OpenRouterCacheKey } from './types'; export declare class OpenRouterCache { private cache; set(key: OpenRouterCacheKey, value: ProviderResponse): void; get(key: OpenRouterCacheKey): ProviderResponse | undefined; has(key: OpenRouterCacheKey): boolean; clear(): void; private stringifyKey; }