mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-05-31 00:55:42 +08: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;
|
total += 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log(`[CodexProvider] Loaded ${total} frontend messages (${totalNormalized} normalized) for session "${sessionId}".`);
|
|
||||||
|
|
||||||
const normalizedOffset = Math.max(0, offset);
|
const normalizedOffset = Math.max(0, offset);
|
||||||
const normalizedLimit = limit === null ? null : Math.max(0, limit);
|
const normalizedLimit = limit === null ? null : Math.max(0, limit);
|
||||||
const messages = normalizedLimit === null
|
const messages = normalizedLimit === null
|
||||||
|
|||||||
@@ -624,7 +624,6 @@ export function useChatSessionState({
|
|||||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
}, [chatMessages.length, isLoadingSessionMessages, searchTarget]);
|
}, [chatMessages.length, isLoadingSessionMessages, searchTarget]);
|
||||||
|
|
||||||
console.log("[UseChatSessionState] total and chatMessages: ", totalMessages, chatMessages)
|
|
||||||
// Token usage fetch for Claude
|
// Token usage fetch for Claude
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (!selectedProject || !selectedSession?.id) {
|
if (!selectedProject || !selectedSession?.id) {
|
||||||
|
|||||||
Reference in New Issue
Block a user