pi-web
pi-web copied to clipboard
Bug Report: Chat hangs with 400 error when using custom workspace path
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
- Navigate to pi-web UI
- Set a custom workspace path to a new directory that does not exist on disk (e.g., )
- Start a new chat session
- Observe that the chat produces no response
- 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.
fixed