Files
openclaw/extensions/xai/web-search-contract-api.ts
2026-06-04 21:33:54 -04:00

11 lines
398 B
TypeScript

// Xai API module exposes the plugin public contract.
import type { WebSearchProviderPlugin } from "openclaw/plugin-sdk/provider-web-search-config-contract";
import { buildXaiWebSearchProviderBase } from "./web-search-provider-shared.js";
export function createXaiWebSearchProvider(): WebSearchProviderPlugin {
return {
...buildXaiWebSearchProviderBase(),
createTool: () => null,
};
}