diff options
| author | Michael Peter Christen <mc@yacy.net> | 2026-01-08 21:33:53 +0100 |
|---|---|---|
| committer | Michael Peter Christen <mc@yacy.net> | 2026-01-08 21:33:53 +0100 |
| commit | bda680f27a095537917713a5553af8dd9729e76e (patch) | |
| tree | 6c4f981a1bc24ce532b9d6f2ffbbf87783dbe3d8 /source | |
| parent | c7d6e64757cfef3a6f0e987e47b3de9240136c00 (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.java | 1 |
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++) { |
