refactor(codex): remove unused websocket debug getter

This commit is contained in:
Vincent Koc
2026-06-18 19:05:46 +08:00
parent b0375f25b3
commit 45366dec2e

View File

@@ -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);