pi-web
pi-web copied to clipboard
Add retry and model settings actions for prompt errors
Summary
Improve the recovery flow when a prompt fails.
- Keep prompt error notices visible until dismissed.
- Add a Retry action for the failed text prompt.
- Add a Check models action that opens the model configuration dialog.
- Add English and Simplified Chinese labels for the new actions.
Why
A failed model request currently shows a temporary notice that disappears after a few seconds. Users can be left with a message that appears unanswered and no direct way to retry or inspect model configuration.
Validation
node_modules/.bin/tsc --noEmitnpm run lint