diff --git a/tests/e2e/ui/helpers/traffic.ts b/tests/e2e/ui/helpers/traffic.ts index fbc4488387c..534e6457411 100644 --- a/tests/e2e/ui/helpers/traffic.ts +++ b/tests/e2e/ui/helpers/traffic.ts @@ -52,13 +52,10 @@ export async function sendChatCompletion(request: APIRequestContext, opts: ChatO } export interface ServedChat { - /** The completion id, which the Logs table calls Request ID. */ requestId: string; - /** The proxy's own correlation id, returned as x-litellm-call-id and used for OTEL traces. */ callId: string; } -/** POST /v1/chat/completions and return both the completion id and the proxy's x-litellm-call-id. */ export async function sendChatCompletionWithCallId(request: APIRequestContext, opts: ChatOptions): Promise { const res = await postChatCompletion(request, opts); expect(res.ok(), `chat completion for ${opts.model} failed (${res.status()}): ${await res.text()}`).toBe(true); diff --git a/tests/e2e/ui/tests/logs/logs.spec.ts b/tests/e2e/ui/tests/logs/logs.spec.ts index b7996dce124..dfc876d73c4 100644 --- a/tests/e2e/ui/tests/logs/logs.spec.ts +++ b/tests/e2e/ui/tests/logs/logs.spec.ts @@ -111,8 +111,6 @@ test.describe("Logs page", () => { await expect(search).toBeVisible({ timeout: 20_000 }); await search.fill(callId); - // Searching by the header value finds the row; the row itself must show that same id so it can be - // correlated with the OTEL trace by eye. const row = requestLogsRows(page).filter({ hasText: requestId }); await expect(row, `no logs row for call id ${callId}`).toHaveCount(1, { timeout: 30_000 }); await expect(row, `Logs row for ${requestId} does not display its x-litellm-call-id ${callId}`).toContainText(callId);