xAI: route x_search through public api seam

This commit is contained in:
huntharo
2026-03-28 08:41:38 -04:00
committed by Peter Steinberger
parent 4f3009f57e
commit 92fb4ad233
2 changed files with 11 additions and 2 deletions

View File

@@ -1,13 +1,13 @@
import { Type } from "@sinclair/typebox";
import {
__testing as xaiXSearchTesting,
xSearchTesting as xaiXSearchTesting,
buildXaiXSearchPayload,
requestXaiXSearch,
resolveXaiXSearchInlineCitations,
resolveXaiXSearchMaxTurns,
resolveXaiXSearchModel,
type XaiXSearchOptions,
} from "../../../extensions/xai/src/x-search-shared.js";
} from "../../../extensions/xai/api.js";
import type { OpenClawConfig } from "../../config/config.js";
import { resolveProviderWebSearchPluginConfig } from "../../plugin-sdk/provider-web-search.js";
import type { RuntimeWebXSearchMetadata } from "../../secrets/runtime-web-tools.types.js";