Skip to content

OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.

Python

Adding back changes removed from settings/page

Mrunal Salunke4e55c957e7a9
diff --git a/frontend/app/settings/page.tsx b/frontend/app/settings/page.tsx
index 0f5fe4290..0a551b771 100644
--- a/frontend/app/settings/page.tsx
+++ b/frontend/app/settings/page.tsx
@@ -9,6 +9,8 @@ import {
Plus,
Trash2,
} from "lucide-react";
+import { IBM_Plex_Sans } from "next/font/google";
+
import Link from "next/link";
import { useRouter, useSearchParams } from "next/navigation";
import { Suspense, useEffect, useState } from "react";
@@ -64,6 +66,12 @@ import { getModelLogo, type ModelProvider } from "./_helpers/model-helpers";
const { MAX_SYSTEM_PROMPT_CHARS } = UI_CONSTANTS;
+const ibmSettingsFont = IBM_Plex_Sans({
+ subsets: ["latin"],
+ weight: ["400", "500", "600", "700"],
+ display: "swap",
+});
+
function KnowledgeSourcesPage() {
const isCloudBrand = useIsCloudBrand();
@@ -530,7 +538,13 @@ function KnowledgeSourcesPage() {
};
return (
- <div className="space-y-8 pb-6">
+ <div
+ className={cn(
+ "space-y-8 pb-6",
+ isCloudBrand && ibmSettingsFont.className,
+ isCloudBrand && "ibm-settings-page",
+ )}
+ >
{/* Connectors Section */}
<div className="space-y-6">
<div>