File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed
components/BackgroundMode Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,10 @@ import { selectCurrentOrg } from "../../redux/slices/profilesSlice";
1111import { AgentsList } from "./AgentsList" ;
1212
1313interface BackgroundModeViewProps {
14- onCreateAgent : ( editorState : any ) => void ;
1514 isCreatingAgent ?: boolean ;
1615}
1716
1817export function BackgroundModeView ( {
19- onCreateAgent,
2018 isCreatingAgent = false ,
2119} : BackgroundModeViewProps ) {
2220 const { session, login } = useAuth ( ) ;
Original file line number Diff line number Diff line change @@ -514,13 +514,7 @@ export function Chat() {
514514 < FatalErrorIndicator />
515515 { ! hasDismissedExploreDialog && < ExploreDialogWatcher /> }
516516 { mode === "background" ? (
517- < BackgroundModeView
518- onCreateAgent = { ( ) => {
519- // This callback is kept for compatibility but not used
520- // Agent creation is now handled in sendInput for better loading state management
521- } }
522- isCreatingAgent = { isCreatingAgent }
523- />
517+ < BackgroundModeView isCreatingAgent = { isCreatingAgent } />
524518 ) : (
525519 history . length === 0 && (
526520 < EmptyChatBody showOnboardingCard = { onboardingCard . show } />
You can’t perform that action at this time.
0 commit comments