Skip to content

Commit

Permalink
chore: remove github config not used (#1865)
Browse files Browse the repository at this point in the history
  • Loading branch information
fgalind1 authored Feb 5, 2025
1 parent a552bd2 commit dd4beb5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 0 additions & 3 deletions backend/chainlit/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 1 addition & 2 deletions backend/chainlit/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -344,7 +343,7 @@ def get_html_template(root_path):
<meta property="og:title" content="{config.ui.name}">
<meta property="og:description" content="{config.ui.description}">
<meta property="og:image" content="{meta_image_url}">
<meta property="og:url" content="{url}">
<meta property="og:url" content="{default_url}">
<meta property="og:root_path" content="{root_path}">"""

js = f"""<script>
Expand Down

0 comments on commit dd4beb5

Please sign in to comment.