add OpenRouter web search option

This commit is contained in:
ajnart committed 2026-08-03 16:59:27 +02:00
1 parent 35673f113e
commit f7b291b465
25 files changed
+5753 -18

No files matched your search

+11
View File
@@ -1648,6 +1648,7 @@
"reported": "Reported by provider",
"estimated": "Estimated from model pricing",
"upstreamCost": "Upstream inference",
"webSearches": "Web searches",
"finishReason": "Finish reason",
"notReported": "Not reported",
"agentSteps": "Agent steps",
@@ -5334,6 +5335,16 @@
"toolsConfirmed": "Tools advertised",
"toolsUnknown": "Verify tool support"
},
"serverTools": {
"title": "Server tools",
"beta": "Beta",
"webSearch": {
"label": "Web search",
"description": "Allow the model to search the live web through OpenRouter when a request needs current information. Search usage is charged separately by OpenRouter.",
"proxyDescription": "Send OpenRouter's web-search server tool to this endpoint. Enable this only when the custom endpoint forwards the OpenRouter server-tools format, such as a Homarr Router proxy.",
"limit": "The model decides when to search, with a limit of 3 searches and 5 results per search for each request."
}
},
"enabled": {
"label": "Enable Assistant",
"description": "Shows the assistant to all signed-in users. Existing Homarr permissions still apply to every internal tool call."