Commit Graph

5 Commits

Author SHA1 Message Date
Oleksandr Kozachuk f3c25de310 url-09: fetched images become vision input — fetch_url og:image/body images ride as input_image, direct image urls ingested, data urls never in json tool text 2026-07-21 13:01:21 +02:00
Oleksandr Kozachuk e0b97363c9 smarter: factual-model routing (beh-10), fetch_url main-content extraction + 8k cap (url-08), get_weather via met.no (spec-016) 2026-07-17 19:15:18 +02:00
Oleksandr Kozachuk a514ff652c url reader: follow html meta-refresh redirects (getnews shortlinks) with ssrf re-guard 2026-07-13 20:09:46 +02:00
Oleksandr Kozachuk 2caa18a17f igdb search + capped http reads: native fulltext, full-page fetch
search_games used `where name ~ "<q>"*`: prefix-only, diacritic- and
word-order-sensitive -- "MARVEL Tōkon" found nothing though IGDB has
it. Switch to IGDB's native `search` clause (relevance-ranked,
diacritic-insensitive).

fetch_url and image downloads read bodies with content.read(n), which
returns only the first buffered chunk (~7 KB): pages collapsed to
their <title>. httpread.read_capped collects chunks up to the byte
cap; image downloads read limit+1 so over-limit files are still
rejected instead of cached truncated (IMG-10).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-13 19:29:16 +02:00
Oleksandr Kozachuk d0819c2683 url reading tool: fetch_url with ssrf guard, html->text, page images to vision cache 2026-07-13 18:10:54 +02:00