summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorMichael Peter Christen <mc@yacy.net>2026-01-08 21:33:53 +0100
committerMichael Peter Christen <mc@yacy.net>2026-01-08 21:33:53 +0100
commitbda680f27a095537917713a5553af8dd9729e76e (patch)
tree6c4f981a1bc24ce532b9d6f2ffbbf87783dbe3d8 /source
parentc7d6e64757cfef3a6f0e987e47b3de9240136c00 (diff)
fixed bug in ai.production_models default value and replaced some
outdated LLMs with new ones
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++) {