@@ -61,7 +61,7 @@ func NewSessions(com *common.Common, selectedSessionID string) (*Session, error)
6161 s := new(Session)
6262 s.sessionsMode = sessionsModeNormal
6363 s.com = com
64− sessions, err := com.Workspace.ListSessions(context.TODO())
64+ sessions, err := com.Workspace.ListSessions(context.Background())
6565 if err != nil {
6666 return nil, err
6767 }
@@ -358,7 +358,7 @@ func (s *Session) removeSession(id string) {
358358
359359func (s *Session) deleteSessionCmd(id string) tea.Cmd {
360360 return func() tea.Msg {
361− err := s.com.Workspace.DeleteSession(context.TODO(), id)
361+ err := s.com.Workspace.DeleteSession(context.Background(), id)
362362 if err != nil {
363363 return util.NewErrorMsg(err)
364364 }
@@ -394,7 +394,7 @@ func (s *Session) updateSession(session session.Session) {
394394
395395func (s *Session) updateSessionCmd(session session.Session) tea.Cmd {
396396 return func() tea.Msg {
397− _, err := s.com.Workspace.SaveSession(context.TODO(), session)
397+ _, err := s.com.Workspace.SaveSession(context.Background(), session)
398398 if err != nil {
399399 return util.NewErrorMsg(err)
400400 }