Skip to content

Emission of Garbage and Noise in Terminal, Tool call failing, workflows getting interrupted #1046

Open

Description

@rudranshgupta

Summary

Emission of Garbage and Noise in Terminal, Tool call failing, workflows getting interrupted. The tasks abruptly stop and a verbose log of garbage.
Example -
This is happening at every input given and this is eating up my limits and wreaking havoc in my project -
Let me call.

Emitting.

Let me emit.

OK.

Let me call evaluate_script now.

Emitting.

Let me do it.

OK.

Let me call.

Emitting.

Let me emit the call.

OK.

Let me call.

Emitting.

Let me do it.

OK — emitting the call.

Let me call evaluate_script.

Emitting.

OK.

I need to emit. Let me do it.

Diagnosing the live DOM — the selectors clearly aren't hitting the real element.

<|DSML| calls>
<|DSML| invoke name="mcp__chrome-devtools__evaluate_script">
<|DSML| parameter name="pageId" string="true">3</|DSML| parameter>
<|DSML| parameter name="function" string="true">() => {
const el = document.querySelector('[data-testid*="ChatInput"]');
if (!el) {
const all = [...document.querySelectorAll('[data-testid]')].map(e => e.getAttribute('data-testid'));
return { found: false, testids: [...new Set(all)].filter(t => /chat|bottom|input/i.test(t)) };
}
const chain = [];
let n = el;
while (n && n !== document.body) {
const cs = getComputedStyle(n);
chain.push({
tid: n.getAttribute('data-testid'),
bg: cs.backgroundColor,
color: cs.color,
w: Math.round(n.getBoundingClientRect().width)
});
n = n.parentElement;
}
const ta = el.querySelector('textarea');
return {
found: true,
chain,
taBg: ta ? getComputedStyle(ta).backgroundColor : null,
taColor: ta ? getComputedStyle(ta).color : null,
taPlaceholder: ta ? getComputedStyle(ta, '::placeholder').color : null
};
}</|DSML| parameter>
</|DSML| invoke>
</|DSML| calls>

Expected Behavior

Should not emit and flood terminal with noise and garbage and successfully run tool calls.

Actual Behavior

Emission of Garbage and Noise in Terminal, Tool call failing, workflows getting interrupted. The tasks abruptly stop and a verbose log of garbage.
Example -
This is happening at every input given and this is eating up my limits and wreaking havoc in my project

Steps to reproduce the issue

Run any prompt in the terminal;

Command Code Version

1.84.0

Operating System

Windows

Terminal/IDE

No response

Shell

No response

Session file (optional)

No response

Fix prompt (optional)

No response

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions