Commit Graph

70 Commits

Author SHA1 Message Date
Timothy J. Baek
d5b76b5ed2 enh: iframe support 2024-06-19 16:51:29 -07:00
Timothy J. Baek
7b64b40270 refac 2024-06-19 15:26:35 -07:00
Timothy J. Baek
83986620ee refac 2024-06-18 14:15:08 -07:00
Timothy J. Baek
d8a1d7eb36 feat: character utils 2024-06-17 03:05:09 -07:00
Timothy J. Baek
2f7120a73a refac 2024-06-17 02:54:56 -07:00
Timothy J. Baek
5fa355e1ae feat: background image 2024-06-17 01:31:22 -07:00
Timothy J. Baek
4b6b33b08b feat: user_location 2024-06-16 15:32:26 -07:00
Timothy J. Baek
fc1a66ea76 feat: current_time, current_datetime 2024-06-16 10:39:48 -06:00
Timothy J. Baek
7f70de99d3 refac: voice call 2024-06-13 20:15:23 -07:00
Timothy J. Baek
d6fd2a8228 refac 2024-06-12 21:18:53 -07:00
Timothy J. Baek
5e7237b9cb refac: title generation 2024-06-09 14:25:31 -07:00
Timothy J. Baek
9dfa334a83 feat: CURRENT_DATE, USER_NAME prompt variable support 2024-05-31 11:11:28 -07:00
Timothy J. Baek
e20bb23409 feat: access archived chats as admin 2024-05-26 02:00:31 -07:00
Timothy Jaeryang Baek
6e89a481be
Merge pull request #2180 from austenadler/dev
Always open links in chat in a new tab
2024-05-25 21:32:39 -10:00
Timothy J. Baek
e80e4c304a refac 2024-05-24 02:17:48 -07:00
Timothy J. Baek
110ed67468 feat: unified /models endpoint 2024-05-24 01:40:48 -07:00
Timothy J. Baek
4d57e08b38 feat: modelfiles to models 2024-05-24 00:26:00 -07:00
Timothy J. Baek
c7e1d3dbc7 fix 2024-05-16 21:03:59 -10:00
Timothy J. Baek
8f8ce26948 refac: migrated to pyodide from pyscript 2024-05-16 19:21:08 -10:00
Austen Adler
c9799991f2 Also replace > with > 2024-05-16 16:18:42 -04:00
Jun Siang Cheah
a789b785b4 feat: add unit tests for prompt templates 2024-05-10 20:41:22 +08:00
Jun Siang Cheah
34a6d55505 feat: add {{prompt:middletruncate:<length>}} to title gen
also harden the replacement logic
2024-05-10 20:17:41 +08:00
Timothy J. Baek
af1d8470cd fix: disable template variables in prompt 2024-05-04 13:21:35 -07:00
Timothy J. Baek
3a2f1d56c8 fix: promptTemplate infinite loop 2024-05-04 13:11:58 -07:00
Timothy J. Baek
a341cfe3fd refac: getTimeRange 2024-05-04 12:59:23 -07:00
Timothy J. Baek
53dae39042 feat: chat list group by time range 2024-05-04 01:23:02 -07:00
Danny Liu
40c1b49e6d chore: run format 2024-04-22 00:17:43 -07:00
Danny Liu
8e94618c51 fix: <br> is not escaped in output text 2024-04-22 00:16:05 -07:00
Timothy J. Baek
2fd2f792d6 refac 2024-04-20 19:20:46 -05:00
Timothy J. Baek
a4083f43cb fix: safari copy link issue 2024-04-19 06:34:55 -05:00
Timothy J. Baek
0c441b588c refac: naming convention 2024-04-14 17:04:24 -04:00
Timothy Jaeryang Baek
a938ffb586
Merge branch 'dev' into feat/customizable-title-prompt-length 2024-04-14 14:02:53 -07:00
Self Denial
d2d255228c Format fix 2024-04-13 22:39:10 -06:00
Self Denial
23b674ddda feat: human readable Generation Info total
Add new function to convert nanoseconds into `approximate_total:` for *Generation Info* tooltip.
2024-04-13 22:27:00 -06:00
Jun Siang Cheah
fffd42e4d7 fix: replace all instances of prompt:start and prompt:end 2024-04-13 18:44:49 +01:00
Jun Siang Cheah
db817fcf29 feat: add {{prompt:start:length}} and {{prompt🔚length}} to title gen 2024-04-13 18:26:50 +01:00
Timothy Jaeryang Baek
02d3fb427b
Merge pull request #1386 from dannyl1u/feat/profile-image-initials
feat: default profile image with user initials
2024-04-06 23:59:20 -07:00
Danny Liu
5694f16624 style: run npm run format 2024-04-05 21:02:02 -07:00
Self Denial
ac9308dbed Introduce canvasPixelTest() intended to validate canvas functionality
Browsers and plugins that spoof canvas data produce corrupt images. In attempt to mitigate:

* Add canvasPixelTest() to test a single pixel and test the RGB values
* Test canvasPixelTest() inside generateInitialsImage() and use default `/user.png` if failure detected
* Call canvasPixelTest() directly within settings to avoid setting an invalid image
* Use toast.error() with 10 second autoClose
2024-04-05 16:04:00 -06:00
Danny Liu
c8f7bb990c code style: npm run format 2024-04-04 20:07:52 -07:00
Danny Liu
b8790200e9 refac: code style 2024-04-04 20:05:39 -07:00
Danny Liu
4200ad111c handle names with trailing whitespace 2024-04-04 19:56:23 -07:00
Danny Liu
ac470e64e0 npm run format 2024-04-04 13:26:00 -07:00
Danny Liu
c52cc46d2c feat: initial avatar set to first letter of firstname, first letter of lastname 2024-04-04 13:23:59 -07:00
Danny Liu
0c43897f3d refac: move generateInitialsImage function to utils 2024-04-04 12:09:07 -07:00
Timothy J. Baek
944efd2cd8 feat: sanitise response content 2024-04-03 10:57:58 -07:00
Timothy J. Baek
32cb5f3ceb feat: external model info 2024-03-25 13:46:06 -07:00
Timothy J. Baek
302bd11b33 fix: pull model from selector 2024-03-24 23:11:55 -07:00
Timothy J. Baek
b218b02d93 feat: custom model selector 2024-03-24 15:28:36 -07:00
Timothy J. Baek
759883a4c8 feat: check for updates 2024-02-25 11:55:15 -08:00