diff --git a/gui/src/components/BackgroundMode/BackgroundModeView.tsx b/gui/src/components/BackgroundMode/BackgroundModeView.tsx
index fdcf92bcd..db917b651 100644
--- a/gui/src/components/BackgroundMode/BackgroundModeView.tsx
+++ b/gui/src/components/BackgroundMode/BackgroundModeView.tsx
@@ -11,12 +11,10 @@ import { selectCurrentOrg } from "../../redux/slices/profilesSlice";
import { AgentsList } from "./AgentsList";
interface BackgroundModeViewProps {
- onCreateAgent: (editorState: any) => void;
isCreatingAgent?: boolean;
}
export function BackgroundModeView({
- onCreateAgent,
isCreatingAgent = false,
}: BackgroundModeViewProps) {
const { session, login } = useAuth();
diff --git a/gui/src/pages/gui/Chat.tsx b/gui/src/pages/gui/Chat.tsx
index 71614487e..113cbf71d 100644
--- a/gui/src/pages/gui/Chat.tsx
+++ b/gui/src/pages/gui/Chat.tsx
@@ -514,13 +514,7 @@ export function Chat() {
{!hasDismissedExploreDialog && }
{mode === "background" ? (
- {
- // This callback is kept for compatibility but not used
- // Agent creation is now handled in sendInput for better loading state management
- }}
- isCreatingAgent={isCreatingAgent}
- />
+
) : (
history.length === 0 && (