mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-30 19:40:21 +00:00
Tools: add x_search via xAI Responses
This commit is contained in:
committed by
Peter Steinberger
parent
5ed8ee6832
commit
38e4b77e60
@@ -208,6 +208,9 @@ function buildConfigForOpenClawTarget(entry: SecretRegistryEntry, envId: string)
|
||||
if (entry.id === "plugins.entries.tavily.config.webSearch.apiKey") {
|
||||
setPathCreateStrict(config, ["tools", "web", "search", "provider"], "tavily");
|
||||
}
|
||||
if (entry.id === "tools.web.x_search.apiKey") {
|
||||
setPathCreateStrict(config, ["tools", "web", "x_search", "enabled"], true);
|
||||
}
|
||||
return config;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user