url reading tool: fetch_url with ssrf guard, html->text, page images to vision cache

This commit is contained in:
Oleksandr Kozachuk
2026-07-13 18:10:54 +02:00
parent df1924bb80
commit d0819c2683
5 changed files with 410 additions and 26 deletions
+6
View File
@@ -67,3 +67,9 @@ enable-game-info = true
# idle-impulse-hours = 12
# taskgen-interval-hours = 6
# Staff: !bot tasks | task-approve <id> | task-cancel <id>
# URL reading (SPEC-011, FDB-018) — DEFAULT OFF; web pages are hostile input:
# enable-url-reading = true
# url-max-bytes = 2097152 # 2 MB fetch cap
# url-max-chars = 6000 # text handed to the model
# url-max-images = 2 # page images into the vision cache
# url-daily-per-user = 20