mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-04 15:16:49 -07:00
Format.
This commit is contained in:
@@ -6,6 +6,12 @@ Narrow Container
|
||||
"
|
||||
`;
|
||||
|
||||
exports[`<SectionHeader /> > 'renders correctly in a narrow contain…' 2`] = `
|
||||
"─────────────────────────
|
||||
Narrow Container
|
||||
"
|
||||
`;
|
||||
|
||||
exports[`<SectionHeader /> > 'renders correctly when title is trunc…' 1`] = `
|
||||
"────────────────────
|
||||
Very Long Header Ti…
|
||||
|
||||
@@ -42,7 +42,10 @@ export function mapToDisplay(
|
||||
if (call.status === CoreToolCallStatus.Error) {
|
||||
description = JSON.stringify(call.request.args);
|
||||
} else {
|
||||
description = typeof call.invocation.getDisplayTitle === 'function' ? call.invocation.getDisplayTitle() : call.invocation.getDescription();
|
||||
description =
|
||||
typeof call.invocation.getDisplayTitle === 'function'
|
||||
? call.invocation.getDisplayTitle()
|
||||
: call.invocation.getDescription();
|
||||
renderOutputAsMarkdown = call.tool.isOutputMarkdown;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user