mirror of https://github.com/openclaw/openclaw.git
xAI: route x_search through public api seam
This commit is contained in:
parent
4f3009f57e
commit
92fb4ad233
|
|
@ -14,6 +14,15 @@ export {
|
|||
XAI_DEFAULT_MAX_TOKENS,
|
||||
} from "./model-definitions.js";
|
||||
export { isModernXaiModel, resolveXaiForwardCompatModel } from "./provider-models.js";
|
||||
export {
|
||||
__testing as xSearchTesting,
|
||||
buildXaiXSearchPayload,
|
||||
requestXaiXSearch,
|
||||
resolveXaiXSearchInlineCitations,
|
||||
resolveXaiXSearchMaxTurns,
|
||||
resolveXaiXSearchModel,
|
||||
type XaiXSearchOptions,
|
||||
} from "./src/x-search-shared.js";
|
||||
import { normalizeXaiModelId } from "./model-id.js";
|
||||
export { normalizeXaiModelId };
|
||||
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in New Issue