mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-26 05:29:33 +00:00
13 lines
535 B
TypeScript
13 lines
535 B
TypeScript
// Qa Lab API module exposes the deterministic QA web_search contract.
|
|
import type { WebSearchProviderPlugin } from "openclaw/plugin-sdk/provider-web-search-contract";
|
|
import { createQaLabWebSearchProvider as createQaLabRuntimeWebSearchProvider } from "./src/qa-web-search-provider.js";
|
|
|
|
export function createQaLabWebSearchProvider(): WebSearchProviderPlugin {
|
|
const { createTool: _createTool, ...provider } = createQaLabRuntimeWebSearchProvider();
|
|
void _createTool;
|
|
return {
|
|
...provider,
|
|
createTool: () => null,
|
|
};
|
|
}
|