mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-02 19:20:20 +00:00
fix: sanitize malformed replay tool calls (#50005)
Merged via squash.
Prepared head SHA: 64ad5563f7
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Co-authored-by: jalehman <550978+jalehman@users.noreply.github.com>
Reviewed-by: @jalehman
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
import bravePlugin from "../../extensions/brave/index.js";
|
||||
import firecrawlPlugin from "../../extensions/firecrawl/index.js";
|
||||
import googlePlugin from "../../extensions/google/index.js";
|
||||
import moonshotPlugin from "../../extensions/moonshot/index.js";
|
||||
import perplexityPlugin from "../../extensions/perplexity/index.js";
|
||||
import tavilyPlugin from "../../extensions/tavily/index.js";
|
||||
import xaiPlugin from "../../extensions/xai/index.js";
|
||||
import type { OpenClawPluginApi } from "./types.js";
|
||||
|
||||
type RegistrablePlugin = {
|
||||
id: string;
|
||||
register: (api: OpenClawPluginApi) => void;
|
||||
};
|
||||
|
||||
export const bundledWebSearchPluginRegistrations: ReadonlyArray<{
|
||||
plugin: RegistrablePlugin;
|
||||
credentialValue: unknown;
|
||||
}> = [
|
||||
{ plugin: bravePlugin, credentialValue: "BSA-test" },
|
||||
{ plugin: firecrawlPlugin, credentialValue: "fc-test" },
|
||||
{ plugin: googlePlugin, credentialValue: "AIza-test" },
|
||||
{ plugin: moonshotPlugin, credentialValue: "sk-test" },
|
||||
{ plugin: perplexityPlugin, credentialValue: "pplx-test" },
|
||||
{ plugin: tavilyPlugin, credentialValue: "tvly-test" },
|
||||
{ plugin: xaiPlugin, credentialValue: "xai-test" },
|
||||
];
|
||||
@@ -1,4 +1,4 @@
|
||||
import { bundledWebSearchPluginRegistrations } from "./bundled-web-search-registry.js";
|
||||
import { bundledWebSearchPluginRegistrations } from "../bundled-web-search-registry.js";
|
||||
import { capturePluginRegistration } from "./captured-registration.js";
|
||||
import type { PluginLoadOptions } from "./loader.js";
|
||||
import { loadPluginManifestRegistry } from "./manifest-registry.js";
|
||||
|
||||
@@ -34,7 +34,7 @@ import volcenginePlugin from "../../../extensions/volcengine/index.js";
|
||||
import xaiPlugin from "../../../extensions/xai/index.js";
|
||||
import xiaomiPlugin from "../../../extensions/xiaomi/index.js";
|
||||
import zaiPlugin from "../../../extensions/zai/index.js";
|
||||
import { bundledWebSearchPluginRegistrations } from "../bundled-web-search-registry.js";
|
||||
import { bundledWebSearchPluginRegistrations } from "../../bundled-web-search-registry.js";
|
||||
import { createCapturedPluginRegistration } from "../captured-registration.js";
|
||||
import { resolvePluginProviders } from "../providers.js";
|
||||
import type {
|
||||
|
||||
Reference in New Issue
Block a user