mirror of https://github.com/openclaw/openclaw.git
xAI: add web search credential metadata
This commit is contained in:
parent
5464ad113e
commit
050fa4eb52
|
|
@ -210,6 +210,8 @@ export function createXaiWebSearchProvider() {
|
|||
signupUrl: "https://console.x.ai/",
|
||||
docsUrl: "https://docs.openclaw.ai/tools/web",
|
||||
autoDetectOrder: 30,
|
||||
credentialPath: "tools.web.search.grok.apiKey",
|
||||
inactiveSecretPaths: ["tools.web.search.grok.apiKey"],
|
||||
getCredentialValue: (searchConfig?: Record<string, unknown>) =>
|
||||
getScopedCredentialValue(searchConfig, "grok"),
|
||||
setCredentialValue: (searchConfigTarget: Record<string, unknown>, value: unknown) =>
|
||||
|
|
|
|||
Loading…
Reference in New Issue