most recent error only

This commit is contained in:
sam committed 2025-09-22 22:55:46 +07:00
1 parent 3a8e040212
commit e88a11ce21
2 files changed
+35 -7

No files matched your search

+1 -1
View File
@@ -276,7 +276,7 @@ export const ChatPane = forwardRef<ChatPaneRef, ChatPaneProps>(({
// Function to suggest error fix
// Clean alert hooks with proper interfaces
const aiModelAlert = useAIModelErrorAlert(messages, _onNewChat, openModelSelector);
const consoleAlert = useConsoleErrorAlert();
const consoleAlert = useConsoleErrorAlert(messages, isBuildLoading, internalIsLoading);
// Scroll to bottom when alerts appear
useEffect(() => {