mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-05-09 22:18:19 +00:00
fix(logging): remove unnecessary console logs from CodexSessionsProvider and useChatSessionState
This commit is contained in:
@@ -559,8 +559,6 @@ export class CodexSessionsProvider implements IProviderSessions {
|
||||
total += 1;
|
||||
}
|
||||
}
|
||||
console.log(`[CodexProvider] Loaded ${total} frontend messages (${totalNormalized} normalized) for session "${sessionId}".`);
|
||||
|
||||
const normalizedOffset = Math.max(0, offset);
|
||||
const normalizedLimit = limit === null ? null : Math.max(0, limit);
|
||||
const messages = normalizedLimit === null
|
||||
|
||||
@@ -624,7 +624,6 @@ export function useChatSessionState({
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [chatMessages.length, isLoadingSessionMessages, searchTarget]);
|
||||
|
||||
console.log("[UseChatSessionState] total and chatMessages: ", totalMessages, chatMessages)
|
||||
// Token usage fetch for Claude
|
||||
useEffect(() => {
|
||||
if (!selectedProject || !selectedSession?.id) {
|
||||
|
||||
Reference in New Issue
Block a user