mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-22 08:58:13 +00:00
refactor(codex): remove unused websocket debug getter
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user