Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
fix: necessary font changes (#1818)
Danny Avila98064244bf25
diff --git a/api/package.json b/api/package.jsonindex 1119bff051..013b98b281 100644--- a/api/package.json+++ b/api/package.json@@ -1,6 +1,6 @@{"name": "@librechat/backend",- "version": "0.6.9",+ "version": "0.6.10","description": "","scripts": {"start": "echo 'please run this from the root directory'",diff --git a/client/package.json b/client/package.jsonindex 84b37c7db7..6adc99043c 100644--- a/client/package.json+++ b/client/package.json@@ -1,6 +1,6 @@{"name": "@librechat/frontend",- "version": "0.6.9",+ "version": "0.6.10","description": "","type": "module","scripts": {diff --git a/client/public/fonts/Inter-Bold.woff2 b/client/public/fonts/Inter-Bold.woff2new file mode 100644index 0000000000..0f1b157633Binary files /dev/null and b/client/public/fonts/Inter-Bold.woff2 differdiff --git a/client/public/fonts/Inter-BoldItalic.woff2 b/client/public/fonts/Inter-BoldItalic.woff2new file mode 100644index 0000000000..bc50f24c87Binary files /dev/null and b/client/public/fonts/Inter-BoldItalic.woff2 differdiff --git a/client/public/fonts/Inter-Italic.woff2 b/client/public/fonts/Inter-Italic.woff2new file mode 100644index 0000000000..4c24ce2815Binary files /dev/null and b/client/public/fonts/Inter-Italic.woff2 differdiff --git a/client/public/fonts/Inter-Regular.woff2 b/client/public/fonts/Inter-Regular.woff2new file mode 100644index 0000000000..b8699af29bBinary files /dev/null and b/client/public/fonts/Inter-Regular.woff2 differdiff --git a/client/public/fonts/Inter-SemiBold.woff2 b/client/public/fonts/Inter-SemiBold.woff2new file mode 100644index 0000000000..95c48b184eBinary files /dev/null and b/client/public/fonts/Inter-SemiBold.woff2 differdiff --git a/client/public/fonts/Inter-SemiBoldItalic.woff2 b/client/public/fonts/Inter-SemiBoldItalic.woff2new file mode 100644index 0000000000..ddfe19e839Binary files /dev/null and b/client/public/fonts/Inter-SemiBoldItalic.woff2 differdiff --git a/client/public/fonts/roboto-mono-latin-400-italic.woff2 b/client/public/fonts/roboto-mono-latin-400-italic.woff2new file mode 100644index 0000000000..75d29cff8eBinary files /dev/null and b/client/public/fonts/roboto-mono-latin-400-italic.woff2 differdiff --git a/client/public/fonts/roboto-mono-latin-400-normal.woff2 b/client/public/fonts/roboto-mono-latin-400-normal.woff2new file mode 100644index 0000000000..53d081f3a5Binary files /dev/null and b/client/public/fonts/roboto-mono-latin-400-normal.woff2 differdiff --git a/client/public/fonts/roboto-mono-latin-700-normal.woff2 b/client/public/fonts/roboto-mono-latin-700-normal.woff2new file mode 100644index 0000000000..92fe38dd41Binary files /dev/null and b/client/public/fonts/roboto-mono-latin-700-normal.woff2 differdiff --git a/client/public/fonts/signifier-bold-italic.woff2 b/client/public/fonts/signifier-bold-italic.woff2deleted file mode 100644index cebb25db24..0000000000Binary files a/client/public/fonts/signifier-bold-italic.woff2 and /dev/null differdiff --git a/client/public/fonts/signifier-bold.woff2 b/client/public/fonts/signifier-bold.woff2deleted file mode 100644index b76fecbacb..0000000000Binary files a/client/public/fonts/signifier-bold.woff2 and /dev/null differdiff --git a/client/public/fonts/signifier-light-italic.woff2 b/client/public/fonts/signifier-light-italic.woff2deleted file mode 100644index dc144f106c..0000000000Binary files a/client/public/fonts/signifier-light-italic.woff2 and /dev/null differdiff --git a/client/public/fonts/signifier-light.woff2 b/client/public/fonts/signifier-light.woff2deleted file mode 100644index 1077c6b9e9..0000000000Binary files a/client/public/fonts/signifier-light.woff2 and /dev/null differdiff --git a/client/public/fonts/soehne-buch-kursiv.woff2 b/client/public/fonts/soehne-buch-kursiv.woff2deleted file mode 100644index 8d4b03588c..0000000000Binary files a/client/public/fonts/soehne-buch-kursiv.woff2 and /dev/null differdiff --git a/client/public/fonts/soehne-buch.woff2 b/client/public/fonts/soehne-buch.woff2deleted file mode 100644index b1ceb94fa0..0000000000Binary files a/client/public/fonts/soehne-buch.woff2 and /dev/null differdiff --git a/client/public/fonts/soehne-halbfett-kursiv.woff2 b/client/public/fonts/soehne-halbfett-kursiv.woff2deleted file mode 100644index f7fd3c64b0..0000000000Binary files a/client/public/fonts/soehne-halbfett-kursiv.woff2 and /dev/null differdiff --git a/client/public/fonts/soehne-halbfett.woff2 b/client/public/fonts/soehne-halbfett.woff2deleted file mode 100644index 19ed66001e..0000000000Binary files a/client/public/fonts/soehne-halbfett.woff2 and /dev/null differdiff --git a/client/public/fonts/soehne-kraftig-kursiv.woff2 b/client/public/fonts/soehne-kraftig-kursiv.woff2deleted file mode 100644index 669ab6920f..0000000000Binary files a/client/public/fonts/soehne-kraftig-kursiv.woff2 and /dev/null differdiff --git a/client/public/fonts/soehne-kraftig.woff2 b/client/public/fonts/soehne-kraftig.woff2deleted file mode 100644index 59c98a170f..0000000000Binary files a/client/public/fonts/soehne-kraftig.woff2 and /dev/null differdiff --git a/client/public/fonts/soehne-mono-buch-kursiv.woff2 b/client/public/fonts/soehne-mono-buch-kursiv.woff2deleted file mode 100644index c20b742634..0000000000Binary files a/client/public/fonts/soehne-mono-buch-kursiv.woff2 and /dev/null differdiff --git a/client/public/fonts/soehne-mono-buch.woff2 b/client/public/fonts/soehne-mono-buch.woff2deleted file mode 100644index 68e14f3039..0000000000Binary files a/client/public/fonts/soehne-mono-buch.woff2 and /dev/null differdiff --git a/client/public/fonts/soehne-mono-halbfett.woff2 b/client/public/fonts/soehne-mono-halbfett.woff2deleted file mode 100644index e14cbdc536..0000000000Binary files a/client/public/fonts/soehne-mono-halbfett.woff2 and /dev/null differdiff --git a/client/src/components/Chat/Footer.tsx b/client/src/components/Chat/Footer.tsxindex 0e28415f30..66d91e34d0 100644--- a/client/src/components/Chat/Footer.tsx+++ b/client/src/components/Chat/Footer.tsx@@ -17,7 +17,7 @@ export default function Footer() {rel="noreferrer"className="underline">- {config?.appTitle || 'LibreChat'} v0.6.9+ {config?.appTitle || 'LibreChat'} v0.6.10</a>{' - '} {localize('com_ui_new_footer')}</>diff --git a/client/src/components/Chat/Messages/Content/Markdown.tsx b/client/src/components/Chat/Messages/Content/Markdown.tsxindex ef438a1521..1a80449ba8 100644--- a/client/src/components/Chat/Messages/Content/Markdown.tsx+++ b/client/src/components/Chat/Messages/Content/Markdown.tsx@@ -41,7 +41,7 @@ export const p = memo(({ children }: { children: React.ReactNode }) => {return <p className="mb-2 whitespace-pre-wrap">{children}</p>;});-const cursor = ' ⬤';+const cursor = ' ';const Markdown = memo(({ content, message, showCursor }: TContentProps) => {const { isSubmitting, latestMessage } = useChatContext();const LaTeXParsing = useRecoilValue<boolean>(store.LaTeXParsing);diff --git a/client/src/components/Chat/Messages/Content/MessageContent.tsx b/client/src/components/Chat/Messages/Content/MessageContent.tsxindex 42f06373f0..540bb001ff 100644--- a/client/src/components/Chat/Messages/Content/MessageContent.tsx+++ b/client/src/components/Chat/Messages/Content/MessageContent.tsx@@ -57,6 +57,7 @@ const DisplayMessage = ({ text, isCreatedByUser, message, showCursor }: TDisplay))}<divclassName={cn(+ showCursor && !!text?.length ? 'result-streaming' : '','markdown prose dark:prose-invert light w-full break-words',isCreatedByUser ? 'whitespace-pre-wrap dark:text-gray-20' : 'dark:text-gray-70',)}diff --git a/client/src/components/Input/Footer.tsx b/client/src/components/Input/Footer.tsxindex 4f27c86359..c2e32f653d 100644--- a/client/src/components/Input/Footer.tsx+++ b/client/src/components/Input/Footer.tsx@@ -17,7 +17,7 @@ export default function Footer() {rel="noreferrer"className="underline">- {config?.appTitle || 'LibreChat'} v0.6.9+ {config?.appTitle || 'LibreChat'} v0.6.10</a>{' - '}. {localize('com_ui_pay_per_call')}</>diff --git a/client/src/style.css b/client/src/style.cssindex 37129ec7b6..0d17e88030 100644--- a/client/src/style.css+++ b/client/src/style.css@@ -10,37 +10,111 @@@font-face {font-display: swap;- font-family: Signifier;+ font-family: Inter;font-style: normal;font-weight: 400;- src: url("$fonts/signifier-light.woff2") format("woff2")+ src: url("$fonts/Inter-Regular.woff2") format("woff2");+ size-adjust: 94%;}@font-face {font-display: swap;- font-family: Signifier;+ font-family: Inter;font-style: italic;font-weight: 400;- src: url("$fonts/signifier-light-italic.woff2") format("woff2")+ src: url("$fonts/Inter-Italic.woff2") format("woff2");+ size-adjust: 94%;}@font-face {font-display: swap;- font-family: Signifier;+ font-family: Inter;font-style: normal;- font-weight: 700;- src: url("$fonts/signifier-bold.woff2") format("woff2")+ font-weight: 500;+ src: url("$fonts/Inter-SemiBold.woff2") format("woff2");+ size-adjust: 94%;+}++@font-face {+ font-display: swap;+ font-family: Inter;+ font-style: italic;+ font-weight: 500;+ src: url("$fonts/Inter-SemiBoldItalic.woff2") format("woff2");+ size-adjust: 94%;+}++@font-face {+ font-display: swap;+ font-family: Inter;+ font-style: normal;+ font-weight: 600;+ src: url("$fonts/Inter-Bold.woff2") format("woff2");+ size-adjust: 94%;}@font-face {font-display: swap;- font-family: Signifier;+ font-family: Inter;font-style: italic;+ font-weight: 600;+ src: url("$fonts/Inter-BoldItalic.woff2") format("woff2");+ size-adjust: 94%;+}++@font-face {+ font-display: swap;+ font-family: Roboto Mono;+ font-style: normal;+ font-weight: 400;+ src: url("$fonts/roboto-mono-latin-400-normal.woff2") format("woff2")+}++@font-face {+ font-display: swap;+ font-family: Roboto Mono;+ font-style: normal;font-weight: 700;- src: url("$fonts/signifier-bold-italic.woff2") format("woff2")+ src: url("$fonts/roboto-mono-latin-700-normal.woff2") format("woff2")}@font-face {+ font-display: swap;+ font-family: Roboto Mono;+ font-style: italic;+ font-weight: 400;+ src: url("$fonts/roboto-mono-latin-400-italic.woff2") format("woff2")+}++/*++The default ChatGPT fonts, according to OpenAI's brand guidelines, are proprietary and require appropriate font license according to your use case.++They can be purchased here: https://klim.co.nz/buy/soehne/++The fonts in question are (9 total):++> - Söhne (Buch Kursiv, Buch, Halbfett Kursiv, Halbfett, Kraftig Kursiv, Kraftig, Mono Buch Kursiv, Mono Buch, Mono Halbfett)++If you have purchased a license, you can use the commented-out `@font-face` declarations below to include them in your project.++Step 1: Buy whatever license applies to you and allows use of `.woff2` font files (likely web font license).+Step 2: Place them in ./client/public/fonts/ directory.+Step 3: Replace the current `fontFamily` config in ./client/tailwind.config.cjs with the following:++```+ fontFamily: {+ sans: ['Söhne', 'sans-serif'],+ mono: ['Söhne Mono', 'monospace'],+ },+```++Step 4: Uncomment all Söhne font-face declarations below.+Step 5: rebuild frontend code: `npm run frontend` (or rebuild docker).++*/++/* @font-face {font-display: swap;font-family: Söhne;font-style: normal;@@ -110,7 +184,7 @@font-style: italic;font-weight: 400;src: url("$fonts/soehne-mono-buch-kursiv.woff2") format("woff2")-}+} *//* * {box-sizing: border-box;@@ -1311,25 +1385,6 @@ html {animation: spin 1s linear infinite;}-.result-streaming {- -webkit-animation: blink 1s steps(5, start) infinite;- animation: blink 1s steps(5, start) infinite;- content:"⬤ ";- margin-left: 0.25rem;- vertical-align: baseline;-}--/* .result-streaming>:not(ol):not(ul):not(pre):last-child:after,-.result-streaming>ol:last-child li:last-child:after,-.result-streaming>pre:last-child code:after,-.result-streaming>ul:last-child li:last-child:after {- -webkit-animation:blink 1s steps(5,start) infinite;- animation:blink 1s steps(5,start) infinite;- content:"▋";- margin-left:.25rem;- vertical-align:baseline-} */-.form-input,.form-multiselect,.form-select,@@ -1870,3 +1925,74 @@ html {--tw-shadow: inset 0 0 0 1px rgba(0,0,0,.25);--tw-shadow-colored: inset 0 0 0 1px var(--tw-shadow-color);}++.result-streaming>:not(ol):not(ul):not(pre):last-child:after,+.result-streaming>pre:last-child code:after {+ display: inline-block; /* Add this line */+ content:"⬤";+ width: 12px;+ height: 12px;+ font-family:system-ui,Inter,Söhne Circle,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;+ line-height:normal;+ margin-left:.25rem;+ vertical-align:middle;+ font-size: 0.5rem;+}++.result-streaming>pre:last-child code {+ background: url('path-to-circle-image') no-repeat right center;+ padding-right: 1em; /* Adjust as necessary */+}++@supports (selector(:has(*))) {+ .result-streaming>ol:last-child>li:last-child>ol:last-child>li:last-child:after,+ .result-streaming>ol:last-child>li:last-child>ol:last-child>li:last-child>ol:last-child>li:last-child:after,+ .result-streaming>ol:last-child>li:last-child>ol:last-child>li:last-child>ul:last-child>li:last-child:after,+ .result-streaming>ol:last-child>li:last-child>ul:last-child>li:last-child:after,+ .result-streaming>ol:last-child>li:last-child>ul:last-child>li:last-child>ol:last-child>li:last-child:after,+ .result-streaming>ol:last-child>li:last-child>ul:last-child>li:last-child>ul:last-child>li:last-child:after,+ .result-streaming>ul:last-child>li:last-child>ol:last-child>li:last-child:after,+ .result-streaming>ul:last-child>li:last-child>ol:last-child>li:last-child>ol:last-child>li:last-child:after,+ .result-streaming>ul:last-child>li:last-child>ol:last-child>li:last-child>ul:last-child>li:last-child:after,+ .result-streaming>ul:last-child>li:last-child>ul:last-child>li:last-child:after,+ .result-streaming>ul:last-child>li:last-child>ul:last-child>li:last-child>ol:last-child>li:last-child:after,+ .result-streaming>ul:last-child>li:last-child>ul:last-child>li:last-child>ul:last-child>li:last-child:after,+ .result-streaming>ul:last-child>li:last-child[*|\:not-has\(]:after {+ content:"⬤";+ font-family:system-ui,Inter,Söhne Circle,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;+ line-height:normal;+ margin-left:.25rem;+ vertical-align:baseline+ }+ .result-streaming>ul:last-child>li:last-child:not(:has(*>li)):after {+ content:"⬤";+ font-family:system-ui,Inter,Söhne Circle,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;+ line-height:normal;+ margin-left:.25rem;+ vertical-align:baseline+ }+ .result-streaming>ol:last-child>li:last-child[*|\:not-has\(]:after {+ content:"⬤";+ font-family:system-ui,Inter,Söhne Circle,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;+ line-height:normal;+ margin-left:.25rem;+ vertical-align:baseline+ }+ .result-streaming>ol:last-child>li:last-child:not(:has(*>li)):after {+ content:"⬤";+ font-family:system-ui,Inter,Söhne Circle,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;+ line-height:normal;+ margin-left:.25rem;+ vertical-align:baseline+ }+}+@supports not (selector(:has(*))) {+ .result-streaming>ol:last-child>li:last-child:after,+ .result-streaming>ul:last-child>li:last-child:after {+ content:"⬤";+ font-family:system-ui,Inter,Söhne Circle,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;+ line-height:normal;+ margin-left:.25rem;+ vertical-align:baseline+ }+}\ No newline at end of filediff --git a/client/tailwind.config.cjs b/client/tailwind.config.cjsindex c436e2d636..d2c48aa790 100644--- a/client/tailwind.config.cjs+++ b/client/tailwind.config.cjs@@ -10,9 +10,13 @@ module.exports = {// 'gpt-dark-gray': '#343541',// },fontFamily: {- sans: ['Söhne', 'sans-serif'],- mono: ['Söhne Mono', 'monospace'],+ sans: ['Inter', 'sans-serif'],+ mono: ['Roboto Mono', 'monospace'],},+ // fontFamily: {+ // sans: ['Söhne', 'sans-serif'],+ // mono: ['Söhne Mono', 'monospace'],+ // },extend: {width: {'authPageWidth': '370px',diff --git a/e2e/jestSetup.js b/e2e/jestSetup.jsindex 9ddfc532e3..64f5bc40a1 100644--- a/e2e/jestSetup.js+++ b/e2e/jestSetup.js@@ -1,3 +1,3 @@-// v0.6.9+// v0.6.10// See .env.test.example for an example of the '.env.test' file.require('dotenv').config({ path: './e2e/.env.test' });diff --git a/index.html b/index.htmlindex 4f3c2db66b..c0b1b0117b 100644--- a/index.html+++ b/index.html@@ -1,4 +1,4 @@-<!-- v0.6.9 -->+<!-- v0.6.10 --><!DOCTYPE html><html><head>diff --git a/package-lock.json b/package-lock.jsonindex 3560ff5b8a..4630faac92 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "LibreChat",- "version": "0.6.9",+ "version": "0.6.10","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "LibreChat",- "version": "0.6.9",+ "version": "0.6.10","license": "ISC","workspaces": ["api",@@ -38,7 +38,7 @@},"api": {"name": "@librechat/backend",- "version": "0.6.9",+ "version": "0.6.10","license": "ISC","dependencies": {"@anthropic-ai/sdk": "^0.5.4",@@ -135,7 +135,7 @@},"client": {"name": "@librechat/frontend",- "version": "0.6.9",+ "version": "0.6.10","license": "ISC","dependencies": {"@headlessui/react": "^1.7.13",diff --git a/package.json b/package.jsonindex 9ba9d300b6..fbe29e5f3f 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "LibreChat",- "version": "0.6.9",+ "version": "0.6.10","description": "","workspaces": ["api",diff --git a/packages/data-provider/package.json b/packages/data-provider/package.jsonindex db0f4f3917..eeebf1f7c7 100644--- a/packages/data-provider/package.json+++ b/packages/data-provider/package.json@@ -1,6 +1,6 @@{"name": "librechat-data-provider",- "version": "0.4.1",+ "version": "0.4.2","description": "data services for librechat apps","main": "dist/index.js","module": "dist/index.es.js",diff --git a/packages/data-provider/src/config.ts b/packages/data-provider/src/config.tsindex 1864cd7ddd..a0fad47a39 100644--- a/packages/data-provider/src/config.ts+++ b/packages/data-provider/src/config.ts@@ -357,7 +357,7 @@ export enum Constants {/*** Key for the app's version.*/- VERSION = 'v0.6.9',+ VERSION = 'v0.6.10',/*** Key for the Custom Config's version (librechat.yaml).*/diff --git a/prettier.config.js b/prettier.config.jsindex a2c8ef261c..9f1e18e9ab 100644--- a/prettier.config.js+++ b/prettier.config.js@@ -1,4 +1,4 @@-// v0.6.9+// v0.6.10module.exports = {tailwindConfig: './client/tailwind.config.cjs',printWidth: 100,