mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-12 09:41:11 +00:00
fix(test): refresh schema snapshot and stabilize channel registry
This commit is contained in:
@@ -4242,6 +4242,9 @@ export const GENERATED_BASE_CONFIG_SCHEMA: BaseConfigSchemaResponse = {
|
||||
},
|
||||
provider: {
|
||||
type: "string",
|
||||
title: "Compaction Provider",
|
||||
description:
|
||||
"Id of a registered compaction provider plugin used for summarization. When set and the provider is registered, its summarize() method is called instead of the built-in summarizeInStages pipeline. Falls back to built-in on provider failure. Leave unset to use the default built-in summarization.",
|
||||
},
|
||||
reserveTokens: {
|
||||
type: "integer",
|
||||
|
||||
@@ -9,6 +9,12 @@ type PluginContractEntry = {
|
||||
export function getPluginContractRegistry(): PluginContractEntry[] {
|
||||
return listBundledChannelPlugins().map((plugin) => ({
|
||||
id: plugin.id,
|
||||
plugin,
|
||||
plugin: {
|
||||
...plugin,
|
||||
meta: {
|
||||
...plugin.meta,
|
||||
id: plugin.id,
|
||||
},
|
||||
},
|
||||
}));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user