Open waterguo opened 6 months ago
Will check and test this
On Sat, Mar 16, 2024, 12:35 PM Water Guo @.***> wrote:
Fix error handling. Not all exceptions from different kind of browsers have toJSON() method
You can view, comment on, or merge this pull request online at:
https://github.com/deiucanta/chatpad/pull/112 Commit Summary
- 95bea7f https://github.com/deiucanta/chatpad/pull/112/commits/95bea7fcaf2a9d143091929bffacbd6381365697 Fix error handling. Not all exceptions from different kind of browsers have toJSON() method
File Changes
(8 files https://github.com/deiucanta/chatpad/pull/112/files)
- M src/components/ChatItem.tsx https://github.com/deiucanta/chatpad/pull/112/files#diff-af2ca13c3b4699e7b63f8dac7a287a435171c2c23b8ee707334b46db5e691aa6 (4)
- M src/components/CreatePromptModal.tsx https://github.com/deiucanta/chatpad/pull/112/files#diff-3a0f875b6694855f26c2dbfba070f8cdb7cf5e20d65b3fb32107a038de76e2e2 (4)
- M src/components/DeleteChatModal.tsx https://github.com/deiucanta/chatpad/pull/112/files#diff-b2a4cdb07e27f73466ae808d30c4563a8a4a0cd328e7793b3993deaf26a1ba40 (2)
- M src/components/DeletePromptModal.tsx https://github.com/deiucanta/chatpad/pull/112/files#diff-0118ab32595cfdc7a01ea8da7ae1ba6e7545020f868fec463d4866a13ee45cc3 (2)
- M src/components/EditChatModal.tsx https://github.com/deiucanta/chatpad/pull/112/files#diff-642b7ec0fbc513e0879829c8a3634076d7dfa2c34b063ca68d6cdf6c7cddfef1 (4)
- M src/components/EditPromptModal.tsx https://github.com/deiucanta/chatpad/pull/112/files#diff-cb4a9426bddda11324a2314ddb23d4ea98a338757ed895a131e8e6e87d06eb0c (4)
- M src/components/SettingsModal.tsx https://github.com/deiucanta/chatpad/pull/112/files#diff-7103ebc49ca82ad2ee11176702e0ac92f867116876696977bb8c11f5e0ecab52 (22)
- M src/routes/ChatRoute.tsx https://github.com/deiucanta/chatpad/pull/112/files#diff-670629294d823752e1a6e20369df17e6cb2f1d0c4cb8ddfffb6819d2654c2ddf (8)
Patch Links:
- https://github.com/deiucanta/chatpad/pull/112.patch
- https://github.com/deiucanta/chatpad/pull/112.diff
— Reply to this email directly, view it on GitHub https://github.com/deiucanta/chatpad/pull/112, or unsubscribe https://github.com/notifications/unsubscribe-auth/APESZJTR64AZZEEXVRAOPKDYYR7GTAVCNFSM6AAAAABEZPINHOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4TAMJUHE3TGNY . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Added another commit to support Azure OpenAI. It wasn't working
Fix error handling. Not all exceptions from different kind of browsers have toJSON() method