style: format message-runtime files
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -858,7 +858,9 @@ describe('createMessageRuntime', () => {
|
|||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
vi.mocked(channel.sendAndTrack!).mockResolvedValueOnce('progress-follow-up');
|
vi.mocked(channel.sendAndTrack!).mockResolvedValueOnce(
|
||||||
|
'progress-follow-up',
|
||||||
|
);
|
||||||
|
|
||||||
vi.mocked(agentRunner.runAgentProcess).mockImplementation(
|
vi.mocked(agentRunner.runAgentProcess).mockImplementation(
|
||||||
async (_group, _input, _onProcess, onOutput) => {
|
async (_group, _input, _onProcess, onOutput) => {
|
||||||
|
|||||||
@@ -625,7 +625,10 @@ export function createMessageRuntime(deps: MessageRuntimeDeps): {
|
|||||||
},
|
},
|
||||||
'Promoting last progress output to final message after agent completion',
|
'Promoting last progress output to final message after agent completion',
|
||||||
);
|
);
|
||||||
await channel.sendMessage(chatJid, latestModelProgressTextForFinalFallback);
|
await channel.sendMessage(
|
||||||
|
chatJid,
|
||||||
|
latestModelProgressTextForFinalFallback,
|
||||||
|
);
|
||||||
finalOutputSentToUser = true;
|
finalOutputSentToUser = true;
|
||||||
latestModelProgressTextForFinalFallback = null;
|
latestModelProgressTextForFinalFallback = null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user