mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-11 17:21:13 +00:00
fix(agents): refresh runtime tool and subagent coverage
This commit is contained in:
@@ -54,7 +54,7 @@ describe("normalizeAgentCommandReplyPayloads", () => {
|
||||
setActivePluginRegistry(emptyRegistry);
|
||||
});
|
||||
|
||||
it("compiles Slack directives for direct agent deliveries when interactive replies are enabled", () => {
|
||||
it("keeps Slack directives in text for direct agent deliveries", () => {
|
||||
const normalized = normalizeAgentCommandReplyPayloads({
|
||||
cfg: {
|
||||
channels: {
|
||||
@@ -72,19 +72,7 @@ describe("normalizeAgentCommandReplyPayloads", () => {
|
||||
|
||||
expect(normalized).toMatchObject([
|
||||
{
|
||||
text: "Choose",
|
||||
interactive: {
|
||||
blocks: [
|
||||
{
|
||||
type: "text",
|
||||
text: "Choose",
|
||||
},
|
||||
{
|
||||
type: "buttons",
|
||||
buttons: [{ label: "Retry", value: "retry" }],
|
||||
},
|
||||
],
|
||||
},
|
||||
text: "Choose [[slack_buttons: Retry:retry]]",
|
||||
},
|
||||
]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user