feat: add quick setting for follow up chat suggestions & add more common languages (#556) bump:patch

* feat: add chat suggestion quick setting

* feat: add more common languages

* fix: minor fixes
This commit is contained in:
Tuan Anh Nguyen Dang (Tadashi_Cin)
2024-12-07 09:19:21 +07:00
committed by GitHub
parent 6650b15c64
commit a0c9a6e8de
5 changed files with 127 additions and 78 deletions

View File

@@ -4,6 +4,7 @@ from inspect import currentframe, getframeinfo
from pathlib import Path
from decouple import config
from ktem.utils.lang import SUPPORTED_LANGUAGE_MAP
from theflow.settings.default import * # noqa
cur_frame = currentframe()
@@ -284,7 +285,7 @@ SETTINGS_REASONING = {
"lang": {
"name": "Language",
"value": "en",
"choices": [("English", "en"), ("Japanese", "ja"), ("Vietnamese", "vi")],
"choices": [(lang, code) for code, lang in SUPPORTED_LANGUAGE_MAP.items()],
"component": "dropdown",
},
"max_context_length": {