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

This commit is contained in:
shamoon
2026-06-03 15:53:22 +00:00
committed by GitHub
parent 47a6fcfc39
commit 1663ed170c
10 changed files with 100 additions and 4 deletions
+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