Enhancement (beta): add direct LLM language setting (#12906)

This commit is contained in:
shamoon authored and GitHub committed 2026-06-03 15:53:22 +00:00
1 parent 47a6fcfc39
commit 1663ed170c
10 files changed
+100 -4

No files matched your search

+2
View File
@@ -227,6 +227,8 @@ class ApplicationConfigurationSerializer(
data["barcode_tag_mapping"] = None
if "language" in data and data["language"] == "":
data["language"] = None
if "llm_output_language" in data and data["llm_output_language"] == "":
data["llm_output_language"] = None
if "llm_api_key" in data and data["llm_api_key"] is not None:
if data["llm_api_key"] == "":
data["llm_api_key"] = None