File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -349,9 +349,6 @@ func (m chatModel) View() string {
349349 leftBold := permissionModeLabel (m .session )
350350 leftDim := permissionModeHint (m .session )
351351 rightStatus := fmt .Sprintf ("%s %s" , m .session .Provider (), m .session .Model ())
352- if m .containerEnabled && m .containerStatus != "" {
353- rightStatus = fmt .Sprintf ("container: %s %s" , m .containerStatus , rightStatus )
354- }
355352 leftVisLen := len (leftBold ) + len (leftDim )
356353 gap := totalW - leftVisLen - len (rightStatus )
357354 if gap < 1 {
@@ -414,6 +411,13 @@ func (m chatModel) View() string {
414411 bottomBarLines ++
415412 }
416413 }
414+ if m .containerEnabled && m .containerStatus != "" {
415+ style := dimStyle
416+ if m .containerErr != nil {
417+ style = lipgloss .NewStyle ().Foreground (lipgloss .Color ("#ff5555" ))
418+ }
419+ bottomBar .WriteString (style .Render ("container: " + m .containerStatus ) + "\n " )
420+ }
417421 bottomBar .WriteString (dimStyle .Render ("? for help" ) + "\n " )
418422 _ = bottomBarLines
419423 }
You can’t perform that action at this time.
0 commit comments