import { describe, expect, it } from "vitest";
import { SemanticCache } from "../src/semanticCache";

describe("oracle/cached-infer package smoke", () => {
  it("exports a semantic cache implementation", () => {
    const cache = new SemanticCache({ maxEntries: 4, hashAlgorithm: "simple" });
    cache.set("prompt", "response", "model");
    expect(cache.has("prompt")).toBe(true);
  });
});
