mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:50:43 +00:00
fix(tools): restore tool display serializer export
This commit is contained in:
@@ -569,3 +569,9 @@ export const TOOL_DISPLAY_CONFIG: ToolDisplayConfig = {
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export function serializeToolDisplayConfig(
|
||||
config: ToolDisplayConfig = TOOL_DISPLAY_CONFIG,
|
||||
): string {
|
||||
return `${JSON.stringify(config, null, 2)}\n`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user