|
| 1 | +[project] |
| 2 | +# Whether to enable telemetry (default: true). No personal data is collected. |
| 3 | +enable_telemetry = true |
| 4 | + |
| 5 | + |
| 6 | +# List of environment variables to be provided by each user to use the app. |
| 7 | +user_env = [] |
| 8 | + |
| 9 | +# Duration (in seconds) during which the session is saved when the connection is lost |
| 10 | +session_timeout = 3600 |
| 11 | + |
| 12 | +# Enable third parties caching (e.g LangChain cache) |
| 13 | +cache = false |
| 14 | + |
| 15 | +# Authorized origins |
| 16 | +allow_origins = ["*"] |
| 17 | + |
| 18 | +# Follow symlink for asset mount (see https://github.com/Chainlit/chainlit/issues/317) |
| 19 | +# follow_symlink = false |
| 20 | + |
| 21 | +[features] |
| 22 | +# Process and display HTML in messages. This can be a security risk (see https://stackoverflow.com/questions/19603097/why-is-it-dangerous-to-render-user-generated-html-or-javascript) |
| 23 | +unsafe_allow_html = false |
| 24 | + |
| 25 | +# Process and display mathematical expressions. This can clash with "$" characters in messages. |
| 26 | +latex = false |
| 27 | + |
| 28 | +# Automatically tag threads with the current chat profile (if a chat profile is used) |
| 29 | +auto_tag_thread = true |
| 30 | + |
| 31 | +# Allow users to edit their own messages |
| 32 | +edit_message = true |
| 33 | + |
| 34 | +# Authorize users to spontaneously upload files with messages |
| 35 | +[features.spontaneous_file_upload] |
| 36 | + enabled = true |
| 37 | + accept = ["*/*"] |
| 38 | + max_files = 20 |
| 39 | + max_size_mb = 500 |
| 40 | + |
| 41 | +[features.audio] |
| 42 | + # Threshold for audio recording |
| 43 | + min_decibels = -45 |
| 44 | + # Delay for the user to start speaking in MS |
| 45 | + initial_silence_timeout = 3000 |
| 46 | + # Delay for the user to continue speaking in MS. If the user stops speaking for this duration, the recording will stop. |
| 47 | + silence_timeout = 1500 |
| 48 | + # Above this duration (MS), the recording will forcefully stop. |
| 49 | + max_duration = 15000 |
| 50 | + # Duration of the audio chunks in MS |
| 51 | + chunk_duration = 1000 |
| 52 | + # Sample rate of the audio |
| 53 | + sample_rate = 44100 |
| 54 | + |
| 55 | +[UI] |
| 56 | +# Name of the assistant. |
| 57 | +name = "Assistant" |
| 58 | + |
| 59 | +# Description of the assistant. This is used for HTML tags. |
| 60 | +# description = "" |
| 61 | + |
| 62 | +# Large size content are by default collapsed for a cleaner ui |
| 63 | +default_collapse_content = true |
| 64 | + |
| 65 | +# Chain of Thought (CoT) display mode. Can be "hidden", "tool_call" or "full". |
| 66 | +cot = "full" |
| 67 | + |
| 68 | +# Link to your github repo. This will add a github button in the UI's header. |
| 69 | +# github = "" |
| 70 | + |
| 71 | +# Specify a CSS file that can be used to customize the user interface. |
| 72 | +# The CSS file can be served from the public directory or via an external link. |
| 73 | +# custom_css = "/public/test.css" |
| 74 | + |
| 75 | +# Specify a Javascript file that can be used to customize the user interface. |
| 76 | +# The Javascript file can be served from the public directory. |
| 77 | +# custom_js = "/public/test.js" |
| 78 | + |
| 79 | +# Specify a custom font url. |
| 80 | +# custom_font = "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap" |
| 81 | + |
| 82 | +# Specify a custom meta image url. |
| 83 | +# custom_meta_image_url = "https://chainlit-cloud.s3.eu-west-3.amazonaws.com/logo/chainlit_banner.png" |
| 84 | + |
| 85 | +# Specify a custom build directory for the frontend. |
| 86 | +# This can be used to customize the frontend code. |
| 87 | +# Be careful: If this is a relative path, it should not start with a slash. |
| 88 | +# custom_build = "./public/build" |
| 89 | + |
| 90 | +[UI.theme] |
| 91 | + default = "dark" |
| 92 | + #layout = "wide" |
| 93 | + #font_family = "Inter, sans-serif" |
| 94 | +# Override default MUI light theme. (Check theme.ts) |
| 95 | +[UI.theme.light] |
| 96 | + #background = "#FAFAFA" |
| 97 | + #paper = "#FFFFFF" |
| 98 | + |
| 99 | + [UI.theme.light.primary] |
| 100 | + #main = "#F80061" |
| 101 | + #dark = "#980039" |
| 102 | + #light = "#FFE7EB" |
| 103 | + [UI.theme.light.text] |
| 104 | + #primary = "#212121" |
| 105 | + #secondary = "#616161" |
| 106 | + |
| 107 | +# Override default MUI dark theme. (Check theme.ts) |
| 108 | +[UI.theme.dark] |
| 109 | + #background = "#FAFAFA" |
| 110 | + #paper = "#FFFFFF" |
| 111 | + |
| 112 | + [UI.theme.dark.primary] |
| 113 | + #main = "#F80061" |
| 114 | + #dark = "#980039" |
| 115 | + #light = "#FFE7EB" |
| 116 | + [UI.theme.dark.text] |
| 117 | + #primary = "#EEEEEE" |
| 118 | + #secondary = "#BDBDBD" |
| 119 | + |
| 120 | +[meta] |
| 121 | +generated_by = "1.2.0" |
0 commit comments