From dd4beb56ee61c87a69b25edebb791051c6c41dba Mon Sep 17 00:00:00 2001 From: Felipe Galindo Sanchez Date: Wed, 5 Feb 2025 14:07:33 -0800 Subject: [PATCH] chore: remove github config not used (#1865) --- backend/chainlit/config.py | 3 --- backend/chainlit/server.py | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/backend/chainlit/config.py b/backend/chainlit/config.py index 44942eebff..905a59b721 100644 --- a/backend/chainlit/config.py +++ b/backend/chainlit/config.py @@ -127,9 +127,6 @@ # Chain of Thought (CoT) display mode. Can be "hidden", "tool_call" or "full". cot = "full" -# Link to your github repo. This will add a github button in the UI's header. -# github = "" - # Specify a CSS file that can be used to customize the user interface. # The CSS file can be served from the public directory or via an external link. # custom_css = "/public/test.css" diff --git a/backend/chainlit/server.py b/backend/chainlit/server.py index 14446ef977..a49dbbf620 100644 --- a/backend/chainlit/server.py +++ b/backend/chainlit/server.py @@ -333,7 +333,6 @@ def get_html_template(root_path): default_meta_image_url = ( "https://chainlit-cloud.s3.eu-west-3.amazonaws.com/logo/chainlit_banner.png" ) - url = config.ui.github or default_url meta_image_url = config.ui.custom_meta_image_url or default_meta_image_url favicon_path = "/favicon" @@ -344,7 +343,7 @@ def get_html_template(root_path): - + """ js = f"""