diff --git a/src/web/pages/ProxyLogs.server-driven.test.tsx b/src/web/pages/ProxyLogs.server-driven.test.tsx index d10aba8..7a92b04 100644 --- a/src/web/pages/ProxyLogs.server-driven.test.tsx +++ b/src/web/pages/ProxyLogs.server-driven.test.tsx @@ -193,6 +193,33 @@ describe('ProxyLogs server-driven page', () => { } }); + it('keeps the model badge sized to the model name in desktop rows', async () => { + let root: ReturnType | null = null; + + try { + await act(async () => { + root = create( + + + + + , + ); + }); + await flushMicrotasks(); + + const modelBadge = root!.root.find((node) => ( + node.type === 'span' + && collectText(node) === 'gpt-4o' + && node.props.style?.display === 'inline-flex' + )); + + expect(modelBadge.props.style?.alignSelf).toBe('flex-start'); + } finally { + root?.unmount(); + } + }); + it('re-queries the server for status, client, and search changes instead of filtering locally', async () => { let root: ReturnType | null = null; diff --git a/src/web/pages/ProxyLogs.tsx b/src/web/pages/ProxyLogs.tsx index 2c80aac..ef2eb91 100644 --- a/src/web/pages/ProxyLogs.tsx +++ b/src/web/pages/ProxyLogs.tsx @@ -823,7 +823,7 @@ export default function ProxyLogs() {
- + {downstreamKeySummary ? (
{downstreamKeySummary}