mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
refactor(plugins): prune retired compatibility tombstones (#113025)
* refactor(plugins): prune retired compat tombstones * chore: shrink cleanup ratchets * test(tooling): model flattened agent-core exports * test(system-agent): isolate TUI catalog discovery
This commit is contained in:
committed by
GitHub
parent
d8325da46d
commit
9cbbac8fc8
@@ -87,11 +87,3 @@ export function substituteArgs(content: string, args: string[]): string {
|
||||
result = result.replace(/\$@/g, allArgs);
|
||||
return result;
|
||||
}
|
||||
|
||||
/** Format a prompt template invocation using command-style argument substitution. */
|
||||
export function formatPromptTemplateInvocation(
|
||||
template: PromptTemplate,
|
||||
args: string[] = [],
|
||||
): string {
|
||||
return substituteArgs(template.content, args);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user