mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 11:17:40 +00:00
chore: migrate to oxlint and oxfmt
Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
This commit is contained in:
@@ -66,9 +66,7 @@ export async function runSessionsSendA2AFlow(params: {
|
||||
let incomingMessage = latestReply;
|
||||
for (let turn = 1; turn <= params.maxPingPongTurns; turn += 1) {
|
||||
const currentRole =
|
||||
currentSessionKey === params.requesterSessionKey
|
||||
? "requester"
|
||||
: "target";
|
||||
currentSessionKey === params.requesterSessionKey ? "requester" : "target";
|
||||
const replyPrompt = buildAgentToAgentReplyContext({
|
||||
requesterSessionKey: params.requesterSessionKey,
|
||||
requesterChannel: params.requesterChannel,
|
||||
@@ -112,12 +110,7 @@ export async function runSessionsSendA2AFlow(params: {
|
||||
timeoutMs: params.announceTimeoutMs,
|
||||
lane: AGENT_LANE_NESTED,
|
||||
});
|
||||
if (
|
||||
announceTarget &&
|
||||
announceReply &&
|
||||
announceReply.trim() &&
|
||||
!isAnnounceSkip(announceReply)
|
||||
) {
|
||||
if (announceTarget && announceReply && announceReply.trim() && !isAnnounceSkip(announceReply)) {
|
||||
try {
|
||||
await callGateway({
|
||||
method: "send",
|
||||
|
||||
Reference in New Issue
Block a user