Skip to content

Same agent Smaller bill. The tools and infrastructure to get more work from your AI. Fewer tokens. Less compute. Lower cost.

fix: font issue failing on the github actions (#968)

Aman Agarwal0cd9ec38025b
diff --git a/src/client/public/fonts/Inter.ttf b/src/client/public/fonts/Inter.ttf
new file mode 100644
index 00000000..4ab79e01
Binary files /dev/null and b/src/client/public/fonts/Inter.ttf differ
diff --git a/src/client/src/app/layout.tsx b/src/client/src/app/layout.tsx
index 10b3972d..477f28f8 100644
--- a/src/client/src/app/layout.tsx
+++ b/src/client/src/app/layout.tsx
@@ -1,10 +1,15 @@
import type { Metadata } from "next";
import { cookies } from "next/headers";
-import { Inter } from "next/font/google";
+import localFont from "next/font/local";
import "./globals.css";
import { Toaster } from "@/components/ui/sonner";
-const inter = Inter({ subsets: ["latin"] });
+const inter = localFont({
+ src: "../../public/fonts/Inter.ttf",
+ variable: "--font-inter",
+ weight: "100 900",
+ display: "swap",
+});
export const metadata: Metadata = {
title: "OpenLIT | Open Source Observability for LLMs",