mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 18:18:28 +00:00
Agents: fix lint in tool-call sanitizers
This commit is contained in:
@@ -103,7 +103,7 @@ export function installSessionToolResultGuard(
|
||||
if (sanitized.length === 0) {
|
||||
return undefined;
|
||||
}
|
||||
nextMessage = sanitized[0] as AgentMessage;
|
||||
nextMessage = sanitized[0];
|
||||
}
|
||||
const nextRole = (nextMessage as { role?: unknown }).role;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user