Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions backend/chainlit/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,12 @@
# Chain of Thought (CoT) display mode. Can be "hidden", "tool_call" or "full".
cot = "full"

# CoT display layout. "list" shows each step individually, "compact" collapses into one summary line.
# cot_display = "list"

# Whether steps are expandable to show input/output details.
# show_step_details = true

# 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 Expand Up @@ -351,6 +357,8 @@ class UISettings(BaseModel):
name: str
description: str = ""
cot: Literal["hidden", "tool_call", "full"] = "full"
cot_display: Literal["list", "compact"] = "list"
show_step_details: bool = True
default_theme: Optional[Literal["light", "dark"]] = "dark"
language: Optional[str] = None
layout: Optional[Literal["default", "wide"]] = "default"
Expand Down
4 changes: 3 additions & 1 deletion backend/chainlit/translations/ar-SA.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@
"messages": {
"status": {
"using": "يستخدم",
"used": "مستخدم"
"used": "مستخدم",
"usedSteps": "استُخدمت {{count}} خطوات",
"usedTools": "استُخدمت {{count}} أدوات"
},
"actions": {
"copy": {
Expand Down
4 changes: 3 additions & 1 deletion backend/chainlit/translations/bn.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@
"messages": {
"status": {
"using": "ব্যবহার করছে",
"used": "ব্যবহৃত"
"used": "ব্যবহৃত",
"usedSteps": "{{count}}টি ধাপ ব্যবহার করেছে",
"usedTools": "{{count}}টি টুল ব্যবহার করেছে"
},
"actions": {
"copy": {
Expand Down
4 changes: 3 additions & 1 deletion backend/chainlit/translations/da-DK.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@
"messages": {
"status": {
"using": "Bruger",
"used": "Brugte"
"used": "Brugte",
"usedSteps": "Brugte {{count}} trin",
"usedTools": "Brugte {{count}} værktøjer"
},
"actions": {
"copy": {
Expand Down
4 changes: 3 additions & 1 deletion backend/chainlit/translations/de-DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@
"messages": {
"status": {
"using": "Verwendet",
"used": "Verwendete"
"used": "Verwendete",
"usedSteps": "{{count}} Schritte verwendet",
"usedTools": "{{count}} Tools verwendet"
},
"actions": {
"copy": {
Expand Down
4 changes: 3 additions & 1 deletion backend/chainlit/translations/el-GR.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@
"messages": {
"status": {
"using": "Με τη χρήση",
"used": "Χρησιμοποιήθηκε"
"used": "Χρησιμοποιήθηκε",
"usedSteps": "Χρησιμοποίησε {{count}} βήματα",
"usedTools": "Χρησιμοποίησε {{count}} εργαλεία"
},
"actions": {
"copy": {
Expand Down
4 changes: 3 additions & 1 deletion backend/chainlit/translations/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@
"messages": {
"status": {
"using": "Using",
"used": "Used"
"used": "Used",
"usedSteps": "Used {{count}} steps",
"usedTools": "Used {{count}} tools"
},
"actions": {
"copy": {
Expand Down
4 changes: 3 additions & 1 deletion backend/chainlit/translations/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@
"messages": {
"status": {
"using": "Usando",
"used": "Usado"
"used": "Usado",
"usedSteps": "Usó {{count}} pasos",
"usedTools": "Usó {{count}} herramientas"
},
"actions": {
"copy": {
Expand Down
4 changes: 3 additions & 1 deletion backend/chainlit/translations/fr-FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@
"messages": {
"status": {
"using": "Utilise",
"used": "Utilisé"
"used": "Utilisé",
"usedSteps": "{{count}} étapes utilisées",
"usedTools": "{{count}} outils utilisés"
},
"actions": {
"copy": {
Expand Down
4 changes: 3 additions & 1 deletion backend/chainlit/translations/gu.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@
"messages": {
"status": {
"using": "વાપરી રહ્યા છે",
"used": "વપરાયેલ"
"used": "વપરાયેલ",
"usedSteps": "{{count}} પગલાં વાપર્યાં",
"usedTools": "{{count}} ટૂલ્સ વાપર્યાં"
},
"actions": {
"copy": {
Expand Down
4 changes: 3 additions & 1 deletion backend/chainlit/translations/he-IL.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@
"messages": {
"status": {
"using": "משתמש ב",
"used": "השתמש ב"
"used": "השתמש ב",
"usedSteps": "השתמש ב-{{count}} שלבים",
"usedTools": "השתמש ב-{{count}} כלים"
},
"actions": {
"copy": {
Expand Down
4 changes: 3 additions & 1 deletion backend/chainlit/translations/hi.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@
"messages": {
"status": {
"using": "उपयोग कर रहे हैं",
"used": "उपयोग किया"
"used": "उपयोग किया",
"usedSteps": "{{count}} चरणों का उपयोग किया",
"usedTools": "{{count}} टूल्स का उपयोग किया"
},
"actions": {
"copy": {
Expand Down
4 changes: 3 additions & 1 deletion backend/chainlit/translations/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@
"messages": {
"status": {
"using": "In uso",
"used": "Utilizzato"
"used": "Utilizzato",
"usedSteps": "Utilizzati {{count}} passaggi",
"usedTools": "Utilizzati {{count}} strumenti"
},
"actions": {
"copy": {
Expand Down
4 changes: 3 additions & 1 deletion backend/chainlit/translations/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@
"messages": {
"status": {
"using": "使用中",
"used": "使用済み"
"used": "使用済み",
"usedSteps": "{{count}}個のステップを使用",
"usedTools": "{{count}}個のツールを使用"
},
"actions": {
"copy": {
Expand Down
4 changes: 3 additions & 1 deletion backend/chainlit/translations/kn.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@
"messages": {
"status": {
"using": "ಬಳಸುತ್ತಿರುವುದು",
"used": "ಬಳಸಲಾಗಿದೆ"
"used": "ಬಳಸಲಾಗಿದೆ",
"usedSteps": "{{count}} ಹಂತಗಳನ್ನು ಬಳಸಲಾಗಿದೆ",
"usedTools": "{{count}} ಸಾಧನಗಳನ್ನು ಬಳಸಲಾಗಿದೆ"
},
"actions": {
"copy": {
Expand Down
4 changes: 3 additions & 1 deletion backend/chainlit/translations/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@
"messages": {
"status": {
"using": "사용 중",
"used": "사용됨"
"used": "사용됨",
"usedSteps": "{{count}}개의 단계 사용됨",
"usedTools": "{{count}}개의 도구 사용됨"
},
"actions": {
"copy": {
Expand Down
4 changes: 3 additions & 1 deletion backend/chainlit/translations/ml.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@
"messages": {
"status": {
"using": "ഉപയോഗിക്കുന്നു",
"used": "ഉപയോഗിച്ചു"
"used": "ഉപയോഗിച്ചു",
"usedSteps": "{{count}} ഘട്ടങ്ങൾ ഉപയോഗിച്ചു",
"usedTools": "{{count}} ടൂളുകൾ ഉപയോഗിച്ചു"
},
"actions": {
"copy": {
Expand Down
4 changes: 3 additions & 1 deletion backend/chainlit/translations/mr.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@
"messages": {
"status": {
"using": "वापरत आहे",
"used": "वापरले"
"used": "वापरले",
"usedSteps": "{{count}} पायऱ्या वापरल्या",
"usedTools": "{{count}} साधने वापरली"
},
"actions": {
"copy": {
Expand Down
4 changes: 3 additions & 1 deletion backend/chainlit/translations/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@
"messages": {
"status": {
"using": "In gebruik",
"used": "Gebruikt"
"used": "Gebruikt",
"usedSteps": "{{count}} stappen gebruikt",
"usedTools": "{{count}} hulpmiddelen gebruikt"
},
"actions": {
"copy": {
Expand Down
Loading
Loading