summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/net/yacy/htroot/LLMSelection_p.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/net/yacy/htroot/LLMSelection_p.java b/source/net/yacy/htroot/LLMSelection_p.java
index 305864739..68767db04 100644
--- a/source/net/yacy/htroot/LLMSelection_p.java
+++ b/source/net/yacy/htroot/LLMSelection_p.java
@@ -83,6 +83,7 @@ public class LLMSelection_p {
// generate table for production_models
String pms = sb.getConfig("ai.production_models", "[]");
+ if (pms.isEmpty() || pms.equals("{}")) pms = "[]";
try {
production_models = new JSONArray(new JSONTokener(pms));
for (int i = 0; i < production_models.length(); i++) {