@nomyx/assistant
Version:
A powerful assistant library and cli for your AI projects. works with Vertex AI (Claude and Gemini)
11 lines (10 loc) • 374 B
TypeScript
import { ProviderResponse } from '../../../types/chat';
import { AnthropicCacheKey } from './types';
export declare class AnthropicCache {
private cache;
set(key: AnthropicCacheKey, value: ProviderResponse): void;
get(key: AnthropicCacheKey): ProviderResponse | undefined;
has(key: AnthropicCacheKey): boolean;
clear(): void;
private stringifyKey;
}