diff options
| author | Michael Peter Christen <mc@yacy.net> | 2026-07-05 13:17:38 +0200 |
|---|---|---|
| committer | Michael Peter Christen <mc@yacy.net> | 2026-07-05 13:17:38 +0200 |
| commit | 0eec5ec6ac33b02185bd500c1f6cd75f1f7b9604 (patch) | |
| tree | 6870f51bf15339c0c4c49fd15a5da74921fc381a /defaults | |
| parent | 9e0a6338cc9cc6243b45c02aeafe33257e99b767 (diff) | |
another report fix
Diffstat (limited to 'defaults')
| -rw-r--r-- | defaults/yacy.init | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/defaults/yacy.init b/defaults/yacy.init index 96a70a884..03d79eb3e 100644 --- a/defaults/yacy.init +++ b/defaults/yacy.init @@ -1443,7 +1443,10 @@ ai.logreport.dir = DATA/REPORTS/log ai.logreport.initial_delay_minutes = 5
ai.logreport.period_minutes = 60
ai.logreport.max_bucket_lines = 100000
-ai.logreport.max_tokens = 4096
+# Output-token cap for a generated report. This is the report length only, NOT the
+# context window: the prompt budget is (model max_tokens - this value), so a smaller
+# value here leaves more of the model's context window for the log lines in the prompt.
+ai.logreport.max_tokens = 16384
ai.logreport.daily_compression.enabled = true
ai.logreport.feed.max_entries = 100
ai.shield.allow-nonlocalhost = false
|
