Commit graph

173 commits

Author SHA1 Message Date
Faris Hijazi
eff1a23c19 fixed 5682 dates not surviving importing
Simply replaced the frontend svelte code that does the importing. One of
the keys were wrong, it was `convo['timestamp']` instead of
`convo['create_time']`
2025-03-18 09:23:52 +03:00
Timothy Jaeryang Baek
ab92737a9a refac 2025-03-07 17:24:52 +00:00
Timothy Jaeryang Baek
d844fc7edb refac: inline citation handling 2025-03-03 19:48:00 -08:00
Timothy Jaeryang Baek
9f27d7710b chore: format 2025-02-25 01:46:08 -08:00
Sebastian
b00e14eb3f
Handle no location permission 2025-02-23 20:27:55 +01:00
Craig Quiter
0dae8ded13 fix: return local date from getFormattedDate 2025-02-15 10:37:40 -08:00
Timothy Jaeryang Baek
7ff719938a refac: citations 2025-02-12 23:55:14 -08:00
Timothy Jaeryang Baek
1635dcb69b refac 2025-02-03 16:07:43 -08:00
Timothy Jaeryang Baek
cc99673906 refac: prompt variables 2025-01-29 21:56:51 -08:00
Sharon Fox
dda945f4ad
feat: Localized dates and times 2025-01-26 02:47:23 -05:00
Timothy Jaeryang Baek
8b998420fe refac 2025-01-22 10:12:09 -08:00
Timothy Jaeryang Baek
2b1c2942a8 refac: message timestamp 2025-01-22 01:02:52 -08:00
Juanan Pereira
f72490093a fix frontend format 2025-01-09 18:56:40 +01:00
Timothy Jaeryang Baek
0129f463b4 fix: < rendering issue 2025-01-07 23:59:58 -08:00
Timothy Jaeryang Baek
b5bb853c66 chore: format 2024-12-25 09:38:51 -07:00
Timothy Jaeryang Baek
326514be4e enh: image compression 2024-12-24 23:28:14 -07:00
Timothy Jaeryang Baek
e10897236d chore: format 2024-12-24 22:44:10 -07:00
Timothy Jaeryang Baek
d93107d1d6 refac 2024-12-24 22:16:22 -07:00
Taylor Wilsdon
366158ff04 npm run format 2024-12-18 12:18:31 -05:00
denispol
e6add2869b
Update index.ts 2024-12-17 14:56:12 +01:00
denispol
d87584e7ad refactor(utils): enhance Markdown text cleaning for TTS compatibility 2024-12-17 14:52:02 +01:00
Timothy Jaeryang Baek
38eb6abbfc chore: version bump 2024-11-26 01:43:28 -08:00
Timothy Jaeryang Baek
b173f86690 fix: escape source id 2024-11-26 01:39:12 -08:00
Timothy Jaeryang Baek
5c49740aa5 doc: changelog 2024-11-21 22:45:49 -08:00
Timothy Jaeryang Baek
386c976e9a enh: inline citations 2024-11-21 17:58:29 -08:00
Timothy Jaeryang Baek
8ad1aa3c2e chore: format 2024-11-18 06:39:27 -08:00
Timothy Jaeryang Baek
6c3e6710ef enh: knowledge author info 2024-11-18 05:51:01 -08:00
Timothy J. Baek
1472f12f5e refac 2024-10-24 15:02:26 -07:00
Timothy J. Baek
953a8285f7 refac 2024-10-19 16:18:14 -07:00
Timothy J. Baek
f46b95300b feat: rich text input for chat 2024-10-18 23:54:35 -07:00
Yuta Hayashibe
12516c8a45
fix: Fix typos 2024-10-14 16:22:07 +09:00
Timothy J. Baek
6afc686e17 refac 2024-09-29 23:08:55 +02:00
Timothy J. Baek
90ec458c4c enh: show extracted file content 2024-09-28 10:53:25 +02:00
Timothy J. Baek
1d225dd804 fix: chat pdf, txt export issue 2024-09-26 20:59:25 +02:00
Hwang In Tak
0bfbace9aa
fix: Simplify regex 2024-09-24 22:00:01 +09:00
Sebastian
29175405a6
Add weekday, timezone, language variables to system prompts 2024-09-22 12:24:05 +02:00
Sebastian
d53062a9b0
Add more variables to prompts 2024-09-22 11:49:18 +02:00
Timothy J. Baek
f4f7adb377 refac 2024-08-26 15:01:29 +02:00
kiosion
d78c35c9ba
refac: Tidy Chat.svelte 2024-08-25 20:27:50 -04:00
kiosion
3967c34261
feat: Add control for how message content is split for TTS generation reqs 2024-08-25 20:03:21 -04:00
Timothy J. Baek
7b91be21b4 refac 2024-08-23 14:43:32 +02:00
Timothy J. Baek
591962d906 refac: input commands 2024-08-23 14:31:39 +02:00
Timothy J. Baek
4f47053e93 refac 2024-08-16 17:51:50 +02:00
Timothy J. Baek
4ef042e966 refac 2024-08-16 15:33:14 +02:00
Timothy J. Baek
5a6ece9513 refac: enhanced response content sanitisation
'<' and '>' can be correctly displayed now
2024-08-15 00:08:15 +02:00
Timothy J. Baek
7ef5aa520c chore: format 2024-08-13 11:12:35 +01:00
Timothy J. Baek
92e77d7b33 refac: katex 2024-08-09 00:01:38 +02:00
Timothy J. Baek
e491e96f88 fix: markdown '$$' rendering issue 2024-08-08 15:27:51 +02:00
Timothy J. Baek
ab6346ea1c refac: markdown rendering
Co-Authored-By: Jun Siang Cheah <me@jscheah.me>
2024-08-05 17:47:18 +02:00
Timothy J. Baek
e426067e46 fix: latex
Co-Authored-By: Clivia <132346501+Yanyutin753@users.noreply.github.com>
2024-07-20 11:33:27 +02:00
Timothy J. Baek
2e482eca6d refac 2024-07-20 11:29:44 +02:00
Timothy J. Baek
41fecb800d enh: latex 2024-07-20 11:17:24 +02:00
Timothy J. Baek
ebce006974 refac: latex handling 2024-07-20 10:58:29 +02:00
Timothy J. Baek
6d350fb8bc revert: text split 2024-07-01 16:04:24 -07:00
WanderingMeow
de3d49000e
fix: RegExp "invalid group specifier name" exception on Safari < 16.4 (#3306, #3371) 2024-07-01 10:42:55 +08:00
Timothy J. Baek
5ee7da54a1 refac: language detection 2024-06-29 20:41:06 -07:00
Timothy J. Baek
df8d1dacc4 refac: browser language detection 2024-06-29 20:04:04 -07:00
Timothy J. Baek
8dac2a2140 refac 2024-06-26 10:22:31 -07:00
Timothy J. Baek
8e2c377a21 refac: extractSentences 2024-06-22 16:33:20 -07:00
Timothy J. Baek
6e084b4a73 enh: voice call skip code block & expression 2024-06-22 16:13:13 -07:00
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
2f7120a73a refac 2024-06-17 02:54:56 -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
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 &gt; 2024-05-16 16:18:42 -04: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