mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 17:40:44 +00:00
fix: align latest main type drift
This commit is contained in:
@@ -811,7 +811,10 @@ export const dispatchTelegramMessage = async ({
|
||||
: undefined,
|
||||
onToolStart: statusReactionController
|
||||
? async (payload) => {
|
||||
await Promise.resolve(statusReactionController.setTool(payload.name ?? "tool"));
|
||||
const toolName = payload.name?.trim();
|
||||
if (toolName) {
|
||||
await statusReactionController.setTool(toolName);
|
||||
}
|
||||
}
|
||||
: undefined,
|
||||
onCompactionStart: statusReactionController
|
||||
|
||||
Reference in New Issue
Block a user