fmt(js): npm run fix on merge (#67995)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
nousbot-eng 2026-07-20 06:47:15 -04:00 committed by GitHub
parent 4ef92d2e5d
commit e89bc58a5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 125 additions and 125 deletions

View file

@ -381,7 +381,10 @@ function ToolEntry({ part }: ToolEntryProps) {
)
const showRawSearchDrilldown =
part.toolName === 'web_search' && part.result !== undefined && toolViewMode !== 'technical' && Boolean(rawResult.trim())
part.toolName === 'web_search' &&
part.result !== undefined &&
toolViewMode !== 'technical' &&
Boolean(rawResult.trim())
const hasExpandableContent = Boolean(
view.imageUrl || view.inlineDiff || showDetail || hasSearchHits || toolViewMode === 'technical'
@ -596,9 +599,7 @@ function ToolEntry({ part }: ToolEntryProps) {
{showRawSearchDrilldown && (
<details className="max-w-full">
<summary className={cn(TOOL_SECTION_LABEL_CLASS, 'mb-0')}>{copy.rawResponse}</summary>
<pre className={cn(TOOL_SECTION_PRE_CLASS, 'mt-1 whitespace-pre-wrap wrap-anywhere')}>
{rawResult}
</pre>
<pre className={cn(TOOL_SECTION_PRE_CLASS, 'mt-1 whitespace-pre-wrap wrap-anywhere')}>{rawResult}</pre>
</details>
)}
{toolViewMode === 'technical' && !(isFileEdit && view.inlineDiff) && (

View file

@ -6,6 +6,7 @@ describe('forceLoneHeaderForPanes', () => {
const chrome =
(placement?: string, uncloseable = false) =>
() => ({ placement, uncloseable })
const noCollapse = () => false
it('forces a header for session-tile ids even without registered chrome', () => {