mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-11 00:41:02 +00:00
Enhancement (beta): add direct LLM language setting (#12906)
This commit is contained in:
1 parent
47a6fcfc39
commit
1663ed170c
10 files changed
+100
-4
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user