Update .chainlit/config.toml
Browse files- .chainlit/config.toml +56 -30
.chainlit/config.toml
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
[project]
|
|
|
2 |
# If true (default), the app will be available to anonymous users.
|
3 |
# If false, users will need to authenticate and be part of the project to use the app.
|
4 |
public = true
|
@@ -11,23 +12,41 @@ public = true
|
|
11 |
# local will create a database in your .chainlit directory (requires node.js installed).
|
12 |
# cloud will use the Chainlit cloud database.
|
13 |
# custom will load use your custom client.
|
14 |
-
|
15 |
-
|
16 |
# Whether to enable telemetry (default: true). No personal data is collected.
|
17 |
enable_telemetry = false
|
18 |
|
|
|
|
|
|
|
19 |
# List of environment variables to be provided by each user to use the app.
|
20 |
-
|
21 |
|
22 |
-
|
23 |
-
unsafe_allow_html = true
|
24 |
-
latex = true
|
25 |
-
auto_tag_thread = true
|
26 |
-
edit_message = true
|
27 |
#cookie_auth = true
|
|
|
28 |
|
29 |
# Duration (in seconds) during which the session is saved when the connection is lost
|
30 |
-
session_timeout =
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
|
32 |
[UI]
|
33 |
# Name of the app and chatbot.
|
@@ -39,31 +58,38 @@ name = "Daysoff CSA | booking-api-beta"
|
|
39 |
# The default value for the expand messages settings.
|
40 |
default_expand_messages = true
|
41 |
|
42 |
-
#
|
43 |
-
|
44 |
|
45 |
# Link to your github repo. This will add a github button in the UI's header.
|
46 |
# github = ""
|
47 |
|
48 |
-
#
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
#
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
|
68 |
|
69 |
[meta]
|
|
|
1 |
[project]
|
2 |
+
|
3 |
# If true (default), the app will be available to anonymous users.
|
4 |
# If false, users will need to authenticate and be part of the project to use the app.
|
5 |
public = true
|
|
|
12 |
# local will create a database in your .chainlit directory (requires node.js installed).
|
13 |
# cloud will use the Chainlit cloud database.
|
14 |
# custom will load use your custom client.
|
15 |
+
database = "local"
|
16 |
+
|
17 |
# Whether to enable telemetry (default: true). No personal data is collected.
|
18 |
enable_telemetry = false
|
19 |
|
20 |
+
# Enable third parties caching (e.g LangChain cache)
|
21 |
+
cache = false
|
22 |
+
|
23 |
# List of environment variables to be provided by each user to use the app.
|
24 |
+
user_env = []
|
25 |
|
26 |
+
# ?.................
|
|
|
|
|
|
|
|
|
27 |
#cookie_auth = true
|
28 |
+
auth_secret = "${CHAINLIT_AUTH_SECRET}"
|
29 |
|
30 |
# Duration (in seconds) during which the session is saved when the connection is lost
|
31 |
+
session_timeout = 7200
|
32 |
+
|
33 |
+
# Enable third parties caching (e.g LangChain cache)
|
34 |
+
cache = false
|
35 |
+
|
36 |
+
# Follow symlink for asset mount (see https://github.com/Chainlit/chainlit/issues/317)
|
37 |
+
# follow_symlink = false
|
38 |
+
|
39 |
+
[features]
|
40 |
+
edit_message = true
|
41 |
+
unsafe_allow_html = false
|
42 |
+
latex = false
|
43 |
+
[features.spontaneous_file_upload]
|
44 |
+
enabled = true
|
45 |
+
accept = ["*/*"]
|
46 |
+
max_files = 20
|
47 |
+
max_size_mb = 500
|
48 |
+
auto_tag_thread = true
|
49 |
+
|
50 |
|
51 |
[UI]
|
52 |
# Name of the app and chatbot.
|
|
|
58 |
# The default value for the expand messages settings.
|
59 |
default_expand_messages = true
|
60 |
|
61 |
+
# Chain of Thought (CoT) display mode. Can be "hidden", "tool_call" or "full".
|
62 |
+
cot = "full"
|
63 |
|
64 |
# Link to your github repo. This will add a github button in the UI's header.
|
65 |
# github = ""
|
66 |
|
67 |
+
# Specify a CSS file that can be used to customize the user interface.
|
68 |
+
# This can either be a css file in your `public` dir or a URL
|
69 |
+
#custom_css = '/public/stylesheet.css'
|
70 |
+
|
71 |
+
[UI.theme]
|
72 |
+
#layout = "wide"
|
73 |
+
#font_family = "Inter, sans-serif"
|
74 |
+
# Override default MUI light theme. (Check theme.ts)
|
75 |
+
[UI.theme.light]
|
76 |
+
#background = "#FAFAFA"
|
77 |
+
#paper = "#FFFFFF"
|
78 |
+
|
79 |
+
[UI.theme.light.primary]
|
80 |
+
#main = "#F80061"
|
81 |
+
#dark = "#980039"
|
82 |
+
#light = "#FFE7EB"
|
83 |
+
|
84 |
+
# Override default MUI dark theme. (Check theme.ts)
|
85 |
+
[UI.theme.dark]
|
86 |
+
#background = "#FAFAFA"
|
87 |
+
#paper = "#FFFFFF"
|
88 |
+
|
89 |
+
[UI.theme.dark.primary]
|
90 |
+
#main = "#F80061"
|
91 |
+
#dark = "#980039"
|
92 |
+
#light = "#FFE7EB"
|
93 |
|
94 |
|
95 |
[meta]
|