{!isSessionMode && (
0
? 'Select branch'
: 'No branches found'
}
searchPlaceholder="Search branches..."
emptyMessage="No branch found."
disabled={
isEditMode ||
!hasRepositorySelection ||
(repositoryId && branchesLoading) ||
(!repositoryId && (localBranchesLoading || branchOptions.length === 0))
}
/>
{startAgent && (
{agentProfiles.length === 0 && !agentProfilesLoading ? (
No agents found.
Add agent
) : (
)}
)}
)}
{/* Agent Profile - shown in session mode */}
{isSessionMode && (
{/* More Options Toggle */}
)}
{!isSessionMode && startAgent && (
)}
{showAdvancedSettings && isSessionMode && (
)}
{showAdvancedSettings && !isSessionMode && startAgent && (
)}