You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(tools): TOLE_WEB_SEARCH_URL — auth headers + response field mapping #436
TOLE_WEB_SEARCH_URL hard-codes the backend contract {"results":[{title,url,snippet}]} with no way to attach auth headers or map
field names. Real-world blocker while wiring nginjen (codecora fleet):
nginjen POST /search returns {results:[{title,url,description}]}
(description, not snippet) → schema mismatch
requires Authorization: Bearer <key> → cannot be expressed
So the fleet's own search backend cannot be plugged in without an adapter shim.
Follow-up to #215 (native web tools, shipped): the strict contract was the
right v1 — real backends need the escape hatches below.
Keep the strict default schema; the mappings only widen compatibility.
Also consider documenting expected HTTP method/body (GET vs POST) — backends
differ there too.
Observed while
Wiring nginjen v0.14.0 (searxng backend) as web_search for tole v0.8.1.
Activity
feat(web): optional fetch backend for web_fetch via TOLE_WEB_FETCH_URL (