diff --git a/internal/tui/components/chat/sidebar/sidebar.go b/internal/tui/components/chat/sidebar/sidebar.go index 007db383c0abcf12a527b55770b00f22a22d6808..8adc223d5bbc1edb49fee551d894ffb9716510ed 100644 --- a/internal/tui/components/chat/sidebar/sidebar.go +++ b/internal/tui/components/chat/sidebar/sidebar.go @@ -107,8 +107,11 @@ func (m *sidebarCmp) View() tea.View { m.cwd, "", m.currentModelBlock(), - "", - m.filesBlock(), + ) + if m.session.ID != "" { + parts = append(parts, "", m.filesBlock()) + } + parts = append(parts, "", m.lspBlock(), "",