Commit Graph

159 Commits

Author SHA1 Message Date
Cogent Apps
25fd17a554 extend browser compatability 2023-07-09 19:24:17 +00:00
ZauberNerd
0701303563 Use comlink without vite-plugin-comlink
For some reason the vite-plugin-comlink doesn't seem to work in this
constellation.
I tried to reproduce in a new vite project and there it did work.
But also, the plugin does some horrible magic by replacing a
non-existant constructor `ComLinkWorker()` with the `wrap()` method
and then the only real benefit is, that we wouldn't need to write the
`expose()` method in the worker. So for that reason I'm removing the
plugin and using the comlink package directly.
2023-07-08 15:42:43 +02:00
ZauberNerd
ff9f3517ec Replace Node.js's Buffer with native Typed Arrays on the client-side
Vite does not natively ship a Buffer polyfill and most of the
functionality that is required here, can be implemented natively (except
for the byte-wise compare, for that I had to write my own function).
2023-07-08 15:42:43 +02:00
ZauberNerd
4b91a1972b Replace CRA proxy config with vite's proxy config 2023-07-08 15:41:28 +02:00
ZauberNerd
a3da33d824 Replace create-react-app with vite
create-react-app seems to struggle a bit [1] and many folks are
recommending vite as an alternative, as that project is more active.
For me the reason to switch to vite is to reduce dependencies and speed
up the build process.

Replacing create-react-app with vite reduce the number of dependencies
from 1762 to 444.

I was also quite surprised, by how small the actual diff in this commit
is. From that perspective there is almost no discernible difference
between the two tools.

[1]: https://github.com/reactjs/react.dev/pull/5487#issuecomment-1409720741
2023-07-07 22:13:33 +02:00
Cogent Apps
9a69273ce4 Merge pull request #163 from ZauberNerd/remove-unused-dependencies
Remove unused dependencies
2023-07-07 13:12:30 -07:00
ZauberNerd
0ca07ee805 Remove unused dependencies
Keeping the amount of dependencies small speeds up installations.
It also helps to reduce the clutter and to get a better overview of the
application.
2023-07-07 13:48:08 +02:00
cogentapps
23c0169c63 GPT-4 general availability 2023-07-06 20:20:22 +00:00
cogentapps
10eb251bdb remove proxy field 2023-07-04 20:20:25 +00:00
cogentapps
42ad5b3e3b show correct server port 2023-07-04 20:14:25 +00:00
cogentapps
b68ed735db add jest 2023-07-04 20:13:39 +00:00
cogentapps
8e36104637 simplify auth check 2023-07-04 20:12:32 +00:00
cogentapps
6ed206ccc8 fix auth bug 2023-07-04 19:25:27 +00:00
cogentapps
2d95041970 fix max tokens 2023-07-04 18:59:27 +00:00
cogentapps
359d3c6566 fix token slider 2023-07-04 09:44:21 +00:00
cogentapps
2d42fbd94a search adjustments 2023-07-02 08:07:17 +00:00
cogentapps
56582e6f5e make katex optional 2023-07-02 08:00:39 +00:00
cogentapps
1f739e94c4 add other gpt versions 2023-07-01 20:09:50 +00:00
Cogent Apps
a9c3f38d60 fix bug in tokenizer 2023-04-29 18:52:34 +00:00
Cogent Apps
36e434f6b9 initial work on server-side token counting 2023-04-29 18:52:20 +00:00
Cogent Apps
6b271a41c1 submit on ctrl-enter 2023-04-29 18:51:54 +00:00
Cogent Apps
16ad81f403 improve logging 2023-04-29 18:30:44 +00:00
Cogent Apps
4cf0915670 fix user-scoped options not being loaded 2023-04-29 18:30:29 +00:00
Cogent Apps
8f9ec46f9e allow services for anonymous users & gpt4 fix 2023-04-29 18:29:48 +00:00
Cogent Apps
5bcd75f120 never add config file to git 2023-04-29 18:27:26 +00:00
Cogent Apps
ed5e099558 make docker image smaller 2023-04-29 18:27:10 +00:00
Cogent Apps
4b4cdd432d update gitpod configuration 2023-04-29 17:37:18 +00:00
Cogent Apps
ed591ff72d allow head customization 2023-04-17 18:00:07 +00:00
Cogent Apps
ee7ee898c0 update readme 2023-04-15 12:47:06 +00:00
Cogent Apps
fbbb73abf9 remove tts debug code 2023-04-15 12:27:11 +00:00
Cogent Apps
f1f89f2799 dockerfile fix 2023-04-15 11:12:13 +00:00
Cogent Apps
5b70af1c0d dockerfile fix 2023-04-15 10:51:39 +00:00
Cogent Apps
c4c79ce16c ga fix 2023-04-15 10:35:25 +00:00
Cogent Apps
8ec99aba68 build fixes 2023-04-15 10:33:19 +00:00
Cogent Apps
eb58d900b5 v0.2.3 2023-04-15 10:30:02 +00:00
Cogent Apps
943bca2f4d 0.2.2 2023-04-15 10:11:51 +00:00
Cogent Apps
5860607af3 add export & link to beta 2023-04-15 10:10:53 +00:00
Cogent Apps
6fcc7494f3 Merge pull request #60 from tluyben/firstload-autoscroll2
first load auto scroll to bottom
2023-04-12 02:38:17 -07:00
Cogent Apps
109f2fc37e Merge pull request #88 from bagaswastu/main
feature: add enter to send checkbox
2023-04-12 02:37:53 -07:00
Cogent Apps
019cd42be8 Merge pull request #98 from openresearch/feature/no_rate_limit
introduce env variable DISABLE_RATE_LIMIT to disable rate limit
2023-04-12 02:37:25 -07:00
Philipp Schmid
129336c168 introduce rate limit variables 2023-04-05 11:04:59 +02:00
Philipp Schmid
415eb2194f introduce env variable DISABLE_RATE_LIMIT to disable rate limit 2023-03-31 12:26:34 +02:00
Bagas Wastu
2f7747295b add enter to send checkbox 2023-03-23 12:55:04 +07:00
Cogent Apps
68147135f8 roll back multi arch for now 2023-03-22 04:42:32 -07:00
Cogent Apps
1998a661f8 Update publish.yml 2023-03-20 19:11:07 -07:00
Cogent Apps
797296e0fe install git 2023-03-21 00:30:36 +00:00
Cogent Apps
d9b584c423 install git 2023-03-21 00:26:34 +00:00
Cogent Apps
14e7273308 add docker build timeout 2023-03-21 00:22:42 +00:00
Cogent Apps
d7251e34da speech recognition error handling & browser fixes 2023-03-21 00:11:05 +00:00
Cogent Apps
9e10796b5a fix memo deps 2023-03-20 21:28:49 +00:00