Commit Graph

13 Commits

Author SHA1 Message Date
Cohee
2173b8b22a Add event tracing debug function 2024-03-16 18:17:04 +02:00
Cohee
eaeafde0e4 Use Readability to extract text from HTML 2024-02-29 16:37:52 +02:00
Cohee
041b9d4b01 Add style sanitizer to message renderer 2023-12-20 17:03:37 +02:00
maver
0a649a395d Add 'synchronous' event emitter 2023-12-18 21:55:33 +01:00
valadaptive
66953ceba3 Move device type detection to client side
We don't need the server to tell us our user agent--we can get it
ourselves through navigator.userAgent and parse it on the frontend.

I've replaced device-detector-js with Bowser because device-detector-js
is really slow, freezing for up to 500ms to parse a single user agent.
2023-12-14 18:43:59 -05:00
Cohee
2e6ab8be46 Add Object.hasOwn polyfill 2023-12-10 23:28:00 +02:00
Cohee
e0bf2b8e3e [FEATURE_REQUEST] Sending PDF/HTML files? #1414 2023-11-29 17:51:30 +02:00
Cohee
0480acebcd #1059 Mancer model selector 2023-09-10 04:08:32 +03:00
Cohee
0844374de5 Remove old GPT-2 tokenizer. Redirect to tiktoken's tokenizer 2023-08-27 22:14:39 +03:00
Cohee
9660aaa2c2 Add NovelAI hypebot plugin 2023-08-27 18:27:34 +03:00
Cohee
e34e51226f Add monkey patch for structured Clone 2023-08-25 16:40:43 +03:00
Cohee1207
771c9d6165 Optimize SVG loader. Add ai21 icon 2023-08-19 19:48:33 +03:00
Cohee1207
336e27a92d Move 3rd-party scripts into /lib 2023-08-19 16:29:46 +03:00