mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-19 05:50:47 +00:00
Extensions: route Signal and xai through plugin-sdk
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
export * from "./src/index.js";
|
||||
export type { SignalAccountConfig } from "../../src/config/types.signal.js";
|
||||
export type { SignalAccountConfig } from "openclaw/plugin-sdk/signal";
|
||||
|
||||
@@ -4,7 +4,7 @@ import {
|
||||
resolveAccountEntry,
|
||||
type OpenClawConfig,
|
||||
} from "openclaw/plugin-sdk/account-resolution";
|
||||
import type { SignalAccountConfig } from "../../../src/config/types.signal.js";
|
||||
import type { SignalAccountConfig } from "openclaw/plugin-sdk/signal";
|
||||
|
||||
export type ResolvedSignalAccount = {
|
||||
accountId: string;
|
||||
|
||||
@@ -10,11 +10,11 @@ import {
|
||||
resolveTimeoutSeconds,
|
||||
resolveWebSearchProviderCredential,
|
||||
setScopedCredentialValue,
|
||||
type WebSearchProviderPlugin,
|
||||
withTrustedWebToolsEndpoint,
|
||||
wrapWebContent,
|
||||
writeCache,
|
||||
} from "openclaw/plugin-sdk/provider-web-search";
|
||||
import type { WebSearchProviderPlugin } from "../../src/plugins/types.js";
|
||||
|
||||
const XAI_WEB_SEARCH_ENDPOINT = "https://api.x.ai/v1/responses";
|
||||
const XAI_DEFAULT_WEB_SEARCH_MODEL = "grok-4-1-fast";
|
||||
|
||||
Reference in New Issue
Block a user