Skip to content

Bug: Stop and End Session buttons not working #160

@Daniel-Warner-X

Description

@Daniel-Warner-X

🐛 Bug Description

Summary:

Interactive session doesn't stop when the 'stop' or 'end session' buttons are clicked. Also the 'interrupt agent' button only paused the session temporarily.

Expected Behavior:

The agent stops mid-response when the user clicks the 'stop' or 'end-session' button. The session should terminate gracefully and stop consuming tokens immediately.

Actual Behavior:

The agent charged ahead, burning through tokens until I delete the session via the API. The UI buttons appear to have no effect on the running agent process, and the session continues executing in the background.

🔄 Steps to Reproduce

  1. Go to the vTeam web UI
  2. Click 'New session' in the /sessions view
  3. Check 'interactive Chat'
  4. I selected Claude Sonnet 4
  5. Click 'Create agentic session'
  6. Click the 'Messages tab'
  7. In the chat, give the agent a job
  8. Try to stop the chat with the 'Stop' or 'End session' buttons

🖼️ Video

Video link

🌍 Environment

Component:
Ambient Agentic Runner / vTeam Frontend + Backend

Version/Commit:
commit 6f3c09a
Date: Wed Oct 8 16:00:44 2025 -0400

Operating System:
macOS (Apple Silicon)

Browser:
Chrome

Python Version:
3.12.11

Kubernetes Version:
OpenShift Local (CRC) - Kubernetes 1.28+

📋 Additional Context

Error Messages:
No visible error messages in UI, but session continues running in background

# Had to use this command to actually stop the runaway session:
oc delete agenticsession agentic-session-1759527056 -n test2

Recent Changes:

  • OAuth proxy was not working for me so I added OpenShift token-based authentication for local development

🏷️ Labels

  • Priority: high (token consumption and user control issue)
  • Complexity: medium (involves frontend, backend, and Kubernetes integration)
  • Component: frontend/backend/operator (cross-component issue)

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