pi-web icon indicating copy to clipboard operation
pi-web copied to clipboard

Bug Report: Chat hangs with 400 error when using custom workspace path

Open ayakabot opened this issue 6 months ago • 1 comments

Bug Report: Chat hangs with 400 error when using custom workspace path

Description

When a user sets a custom workspace path (e.g., ) for a new directory that doesn't yet exist on disk and attempts to start a chat, the chat UI hangs with no response. The backend API returns a with the following error:

{"error":"Directory does not exist: ~/pi-workspace"}

Steps to Reproduce

  1. Navigate to pi-web UI
  2. Set a custom workspace path to a new directory that does not exist on disk (e.g., )
  3. Start a new chat session
  4. Observe that the chat produces no response
  5. The backend responds with and

Expected Behavior

The application should auto-create the directory if it doesn't exist, or at minimum show a clear validation error in the UI instead of silently failing with no feedback.

ayakabot avatar May 26 '26 09:05 ayakabot

fixed

agegr avatar Jun 04 '26 14:06 agegr