From 45366dec2ecffa38af890a9b6f89ca5d2e8e90ef Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Thu, 18 Jun 2026 19:05:46 +0800 Subject: [PATCH] refactor(codex): remove unused websocket debug getter --- src/llm/providers/openai-chatgpt-responses.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/llm/providers/openai-chatgpt-responses.ts b/src/llm/providers/openai-chatgpt-responses.ts index 6fcb1136721..f7556c95f06 100644 --- a/src/llm/providers/openai-chatgpt-responses.ts +++ b/src/llm/providers/openai-chatgpt-responses.ts @@ -837,13 +837,6 @@ function getOrCreateWebSocketDebugStats(sessionId: string): OpenAICodexWebSocket return stats; } -export function getOpenAICodexWebSocketDebugStats( - sessionId: string, -): OpenAICodexWebSocketDebugStats | undefined { - const stats = websocketDebugStats.get(sessionId); - return stats ? { ...stats } : undefined; -} - export function resetOpenAICodexWebSocketDebugStats(sessionId?: string): void { if (sessionId) { websocketDebugStats.delete(sessionId);