mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-10 21:30:40 -07:00
fix(core): accurately reflect subagent tool failure in UI (#23187)
This commit is contained in:
@@ -381,6 +381,10 @@ export class ShellToolInvocation extends BaseToolInvocation<
|
||||
|
||||
if (result.exitCode !== null && result.exitCode !== 0) {
|
||||
llmContentParts.push(`Exit Code: ${result.exitCode}`);
|
||||
data = {
|
||||
exitCode: result.exitCode,
|
||||
isError: true,
|
||||
};
|
||||
}
|
||||
|
||||
if (result.signal) {
|
||||
|
||||
Reference in New Issue
Block a user