datacipen commited on
Commit
798f296
·
verified ·
1 Parent(s): b40366d

Update .chainlit/config.toml

Browse files
Files changed (1) hide show
  1. .chainlit/config.toml +152 -152
.chainlit/config.toml CHANGED
@@ -1,152 +1,152 @@
1
- [project]
2
- # List of environment variables to be provided by each user to use the app.
3
- user_env = []
4
-
5
- # Duration (in seconds) during which the session is saved when the connection is lost
6
- session_timeout = 3600
7
-
8
- # Duration (in seconds) of the user session expiry
9
- user_session_timeout = 36000 # 15 days
10
-
11
- # Enable third parties caching (e.g., LangChain cache)
12
- cache = false
13
-
14
- # Whether to persist user environment variables (API keys) to the database
15
- # Set to true to store user env vars in DB, false to exclude them for security
16
- persist_user_env = false
17
-
18
- # Whether to mask user environment variables (API keys) in the UI with password type
19
- # Set to true to show API keys as ***, false to show them as plain text
20
- mask_user_env = false
21
-
22
- # Authorized origins
23
- allow_origins = ["*"]
24
-
25
- [features]
26
- # 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)
27
- unsafe_allow_html = false
28
-
29
- # Process and display mathematical expressions. This can clash with "$" characters in messages.
30
- latex = false
31
-
32
- # Autoscroll new user messages at the top of the window
33
- user_message_autoscroll = true
34
-
35
- # Automatically tag threads with the current chat profile (if a chat profile is used)
36
- auto_tag_thread = true
37
-
38
- # Allow users to edit their own messages
39
- edit_message = true
40
-
41
- # Allow users to share threads (backend + UI). Requires an app-defined on_shared_thread_view callback.
42
- allow_thread_sharing = false
43
-
44
- [features.slack]
45
- # Add emoji reaction when message is received (requires reactions:write OAuth scope)
46
- reaction_on_message_received = false
47
-
48
- # Authorize users to spontaneously upload files with messages
49
- [features.spontaneous_file_upload]
50
- enabled = true
51
- # Define accepted file types using MIME types
52
- # Examples:
53
- # 1. For specific file types:
54
- # accept = ["image/jpeg", "image/png", "application/pdf"]
55
- # 2. For all files of certain type:
56
- # accept = ["image/*", "audio/*", "video/*"]
57
- # 3. For specific file extensions:
58
- # accept = { "application/octet-stream" = [".xyz", ".pdb"] }
59
- # Note: Using "*/*" is not recommended as it may cause browser warnings
60
- accept = ["*/*"]
61
- max_files = 20
62
- max_size_mb = 500
63
-
64
- [features.audio]
65
- # Enable audio features
66
- enabled = false
67
- # Sample rate of the audio
68
- sample_rate = 24000
69
-
70
- [features.mcp]
71
- # Enable Model Context Protocol (MCP) features
72
- enabled = false
73
-
74
- [features.mcp.sse]
75
- enabled = true
76
-
77
- [features.mcp.streamable-http]
78
- enabled = true
79
-
80
- [features.mcp.stdio]
81
- enabled = true
82
- # Only the executables in the allow list can be used for MCP stdio server.
83
- # Only need the base name of the executable, e.g. "npx", not "/usr/bin/npx".
84
- # Please don't comment this line for now, we need it to parse the executable name.
85
- allowed_executables = [ "npx", "uvx" ]
86
-
87
- [UI]
88
- # Name of the assistant.
89
- name = "AVID Assistant"
90
-
91
- default_theme = "dark"
92
-
93
- layout = "wide"
94
-
95
- # default_sidebar_state = "open"
96
-
97
- # Description of the assistant. This is used for HTML tags.
98
- # description = ""
99
-
100
- # Chain of Thought (CoT) display mode. Can be "hidden", "tool_call" or "full".
101
- cot = "full"
102
-
103
- # Specify a CSS file that can be used to customize the user interface.
104
- # The CSS file can be served from the public directory or via an external link.
105
- custom_css = "/public/custom.css"
106
-
107
- # Specify additional attributes for a custom CSS file
108
- # custom_css_attributes = "media=\"print\""
109
-
110
- # Specify a JavaScript file that can be used to customize the user interface.
111
- # The JavaScript file can be served from the public directory.
112
- # custom_js = "/public/test.js"
113
-
114
- # The style of alert boxes. Can be "classic" or "modern".
115
- alert_style = "modern"
116
-
117
- # Specify additional attributes for custom JS file
118
- # custom_js_attributes = "async type = \"module\""
119
-
120
- # Custom login page image, relative to public directory or external URL
121
- # login_page_image = "/public/custom-background.jpg"
122
-
123
- # Custom login page image filter (Tailwind internal filters, no dark/light variants)
124
- # login_page_image_filter = "brightness-50 grayscale"
125
- # login_page_image_dark_filter = "contrast-200 blur-sm"
126
-
127
- # Specify a custom meta URL (used for meta tags like og:url)
128
- # custom_meta_url = "https://github.com/Chainlit/chainlit"
129
-
130
- # Specify a custom meta image url.
131
- # custom_meta_image_url = "https://chainlit-cloud.s3.eu-west-3.amazonaws.com/logo/chainlit_banner.png"
132
-
133
- # Load assistant logo directly from URL.
134
- logo_file_url = ""
135
-
136
- # Load assistant avatar image directly from URL.
137
- default_avatar_file_url = ""
138
-
139
- # Specify a custom build directory for the frontend.
140
- # This can be used to customize the frontend code.
141
- # Be careful: If this is a relative path, it should not start with a slash.
142
- # custom_build = "./public/build"
143
-
144
- # Specify optional one or more custom links in the header.
145
- # [[UI.header_links]]
146
- # name = "Issues"
147
- # display_name = "Report Issue"
148
- # icon_url = "https://avatars.githubusercontent.com/u/128686189?s=200&v=4"
149
- # url = "https://github.com/Chainlit/chainlit/issues"
150
-
151
- [meta]
152
- generated_by = "2.8.2"
 
1
+ [project]
2
+ # List of environment variables to be provided by each user to use the app.
3
+ user_env = []
4
+
5
+ # Duration (in seconds) during which the session is saved when the connection is lost
6
+ session_timeout = 3600
7
+
8
+ # Duration (in seconds) of the user session expiry
9
+ user_session_timeout = 36000 # 15 days
10
+
11
+ # Enable third parties caching (e.g., LangChain cache)
12
+ cache = false
13
+
14
+ # Whether to persist user environment variables (API keys) to the database
15
+ # Set to true to store user env vars in DB, false to exclude them for security
16
+ persist_user_env = false
17
+
18
+ # Whether to mask user environment variables (API keys) in the UI with password type
19
+ # Set to true to show API keys as ***, false to show them as plain text
20
+ mask_user_env = false
21
+
22
+ # Authorized origins
23
+ allow_origins = ["*"]
24
+
25
+ [features]
26
+ # 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)
27
+ unsafe_allow_html = false
28
+
29
+ # Process and display mathematical expressions. This can clash with "$" characters in messages.
30
+ latex = false
31
+
32
+ # Autoscroll new user messages at the top of the window
33
+ user_message_autoscroll = true
34
+
35
+ # Automatically tag threads with the current chat profile (if a chat profile is used)
36
+ auto_tag_thread = true
37
+
38
+ # Allow users to edit their own messages
39
+ edit_message = true
40
+
41
+ # Allow users to share threads (backend + UI). Requires an app-defined on_shared_thread_view callback.
42
+ allow_thread_sharing = false
43
+
44
+ [features.slack]
45
+ # Add emoji reaction when message is received (requires reactions:write OAuth scope)
46
+ reaction_on_message_received = false
47
+
48
+ # Authorize users to spontaneously upload files with messages
49
+ [features.spontaneous_file_upload]
50
+ enabled = false
51
+ # Define accepted file types using MIME types
52
+ # Examples:
53
+ # 1. For specific file types:
54
+ # accept = ["image/jpeg", "image/png", "application/pdf"]
55
+ # 2. For all files of certain type:
56
+ # accept = ["image/*", "audio/*", "video/*"]
57
+ # 3. For specific file extensions:
58
+ # accept = { "application/octet-stream" = [".xyz", ".pdb"] }
59
+ # Note: Using "*/*" is not recommended as it may cause browser warnings
60
+ accept = ["*/*"]
61
+ max_files = 20
62
+ max_size_mb = 500
63
+
64
+ [features.audio]
65
+ # Enable audio features
66
+ enabled = false
67
+ # Sample rate of the audio
68
+ sample_rate = 24000
69
+
70
+ [features.mcp]
71
+ # Enable Model Context Protocol (MCP) features
72
+ enabled = false
73
+
74
+ [features.mcp.sse]
75
+ enabled = true
76
+
77
+ [features.mcp.streamable-http]
78
+ enabled = true
79
+
80
+ [features.mcp.stdio]
81
+ enabled = true
82
+ # Only the executables in the allow list can be used for MCP stdio server.
83
+ # Only need the base name of the executable, e.g. "npx", not "/usr/bin/npx".
84
+ # Please don't comment this line for now, we need it to parse the executable name.
85
+ allowed_executables = [ "npx", "uvx" ]
86
+
87
+ [UI]
88
+ # Name of the assistant.
89
+ name = "AVID Assistant"
90
+
91
+ default_theme = "dark"
92
+
93
+ layout = "wide"
94
+
95
+ default_sidebar_state = "open"
96
+
97
+ # Description of the assistant. This is used for HTML tags.
98
+ # description = ""
99
+
100
+ # Chain of Thought (CoT) display mode. Can be "hidden", "tool_call" or "full".
101
+ cot = "full"
102
+
103
+ # Specify a CSS file that can be used to customize the user interface.
104
+ # The CSS file can be served from the public directory or via an external link.
105
+ custom_css = "/public/custom.css"
106
+
107
+ # Specify additional attributes for a custom CSS file
108
+ # custom_css_attributes = "media=\"print\""
109
+
110
+ # Specify a JavaScript file that can be used to customize the user interface.
111
+ # The JavaScript file can be served from the public directory.
112
+ # custom_js = "/public/test.js"
113
+
114
+ # The style of alert boxes. Can be "classic" or "modern".
115
+ alert_style = "modern"
116
+
117
+ # Specify additional attributes for custom JS file
118
+ # custom_js_attributes = "async type = \"module\""
119
+
120
+ # Custom login page image, relative to public directory or external URL
121
+ # login_page_image = "/public/custom-background.jpg"
122
+
123
+ # Custom login page image filter (Tailwind internal filters, no dark/light variants)
124
+ # login_page_image_filter = "brightness-50 grayscale"
125
+ # login_page_image_dark_filter = "contrast-200 blur-sm"
126
+
127
+ # Specify a custom meta URL (used for meta tags like og:url)
128
+ # custom_meta_url = "https://github.com/Chainlit/chainlit"
129
+
130
+ # Specify a custom meta image url.
131
+ # custom_meta_image_url = "https://chainlit-cloud.s3.eu-west-3.amazonaws.com/logo/chainlit_banner.png"
132
+
133
+ # Load assistant logo directly from URL.
134
+ logo_file_url = ""
135
+
136
+ # Load assistant avatar image directly from URL.
137
+ default_avatar_file_url = ""
138
+
139
+ # Specify a custom build directory for the frontend.
140
+ # This can be used to customize the frontend code.
141
+ # Be careful: If this is a relative path, it should not start with a slash.
142
+ # custom_build = "./public/build"
143
+
144
+ # Specify optional one or more custom links in the header.
145
+ # [[UI.header_links]]
146
+ # name = "Issues"
147
+ # display_name = "Report Issue"
148
+ # icon_url = "https://avatars.githubusercontent.com/u/128686189?s=200&v=4"
149
+ # url = "https://github.com/Chainlit/chainlit/issues"
150
+
151
+ [meta]
152
+ generated_by = "2.8.2"