Skip to content

[Bug]: exit doesn't exit #439

@mikebz

Description

@mikebz

Environment (please complete the following):

  • MacOS, zsh
  • current build 2025-07-24 of kubectl-ai built from source.

Describe the bug

When issuing an exit command the tool doesn't actually exit

>>> exit

  It has been a pleasure assisting you. Have a great day                      

>>> exit

  It has been a pleasure assisting you. Have a great day                      

>>> quit

  It has been a pleasure assisting you. Have a great day.                     



To Reproduce
Steps to reproduce the behavior:

  1. Launch
  2. Do something
  3. Ask to exit.

Expected behavior

  1. The agentic loop stops and I get back to the shell.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions