Rankin Zheng 022218d425 Add error handling and regeneration button to ChatPanel
- Import IconRotateDot from @tabler/icons-react
- Add hasError state to track if an error occurred
- Update receiveMessage handler to set hasError state if message.isError is true
- Add regeneration button with IconRotateDot when hasError is true
- Add onClick handler for regeneration button to clear error and request regeneration
2023-05-23 21:13:49 +08:00
..
2023-05-18 19:35:55 +08:00
2023-05-19 13:09:58 +08:00
2023-05-23 11:20:23 +08:00
2023-05-23 08:59:42 +08:00
2023-05-23 08:59:42 +08:00
2023-05-06 17:32:01 +08:00
2023-05-06 17:32:01 +08:00
2023-05-18 22:52:44 +08:00