From bf8ef7fd8c24bbb42550aa1ad86743ebbb5dbd34 Mon Sep 17 00:00:00 2001 From: danielhanchen Date: Tue, 28 Jul 2026 14:21:39 +0000 Subject: [PATCH] Close clearApiMonitor The merge that brought main into this branch dropped the closing brace, so the function body ran straight into the interface declared below it and the frontend did not compile at all: tsc reports TS1005 at the end of the file and vite fails the build. Reproduced against the pushed head and clean with the brace restored. --- studio/frontend/src/features/chat/api/chat-api.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/studio/frontend/src/features/chat/api/chat-api.ts b/studio/frontend/src/features/chat/api/chat-api.ts index cf74779ee7..c36f7a88aa 100644 --- a/studio/frontend/src/features/chat/api/chat-api.ts +++ b/studio/frontend/src/features/chat/api/chat-api.ts @@ -134,6 +134,8 @@ export async function clearApiMonitor(): Promise { method: "DELETE", }); await parseJsonOrThrow<{ cleared: boolean }>(response); +} + export interface ActiveGenerationsResponse { count: number; /** Conversations with a generation in flight. Shorter than `count` when a