diff --git a/apps/desktop/src/app/messaging/index.test.tsx b/apps/desktop/src/app/messaging/index.test.tsx index 836c5fc938485..025f5a58e811c 100644 --- a/apps/desktop/src/app/messaging/index.test.tsx +++ b/apps/desktop/src/app/messaging/index.test.tsx @@ -174,9 +174,7 @@ describe('MessagingView pairing', () => { // connect/disconnect health via gateway_state.json, which a new pairing // request never moves. Riding it would leave someone invisible in the // pending list until an unrelated reconnect happened to fire. - const { $changeEventsAvailable, $pairingChangeTick, $platformsChangeTick } = await import( - '@/store/live-sync' - ) + const { $changeEventsAvailable, $pairingChangeTick, $platformsChangeTick } = await import('@/store/live-sync') getMessagingPlatforms.mockResolvedValue({ platforms: [platform()] }) getPairing.mockResolvedValue({ approved: [], pending: [] }) diff --git a/apps/desktop/src/components/assistant-ui/tool/fallback-model/index.ts b/apps/desktop/src/components/assistant-ui/tool/fallback-model/index.ts index 52e6a44a8d1fc..886e193702a94 100644 --- a/apps/desktop/src/components/assistant-ui/tool/fallback-model/index.ts +++ b/apps/desktop/src/components/assistant-ui/tool/fallback-model/index.ts @@ -1416,6 +1416,7 @@ export function buildToolView(part: ToolPart, inlineDiff: string): ToolView { const error = status === 'success' ? '' : toolErrorText(part, resultRecord) // Over-budget memory refusals stay amber — don't claim "Saved". const memoryMissed = part.toolName === 'memory' && part.result !== undefined && status !== 'success' + const baseTitle = part.result === undefined ? meta.pending