Skip to content

Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.

298 B
Raw Blame
interface CodeBlockProps {
  code: string;
  lang?: string;
}

export function CodeBlock({ code }: CodeBlockProps) {
  return (
    <pre className="mt-3 p-3 text-xs rounded-lg bg-fd-muted text-fd-foreground overflow-x-auto font-mono whitespace-pre-wrap break-words">
      {code}
    </pre>
  );
}