6 Commits

Author SHA1 Message Date
Louis
c4d8defe94
refactor: deprecate invokers - auto proxying apis - strict types (#924)
* refactor: deprecate invokers

* refactor: define routes and auto proxying routes

* refactor: declare types for APIs, avoid making dynamic calls to any functions from the web

* chore: deprecate route handling from preload script

* refactor: deprecate unused apis
2023-12-11 13:10:53 +07:00
Louis
07fc1a91f3
fix: empty assistant instruction by default (#855)
* fix: empty assistant instruction by default

* chore: there should be no error dialog for in-app update
2023-12-05 15:46:18 +07:00
NamH
1bf4c1b621
feat: pre-populate Jan's /models folder (#796)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2023-12-01 18:03:51 +07:00
NamH
52d56a8ae1
refactor: move file to jan root (#598)
* feat: move necessary files to jan root

Signed-off-by: James <james@jan.ai>

* chore: check model dir

---------

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
Co-authored-by: Louis <louis@jan.ai>
2023-11-16 12:09:09 +07:00
Louis
7715cd1bd9 chore: esm import 2023-11-14 12:08:40 +07:00
Louis
f3060f290e refactor: main electron with managers and handlers 2023-11-14 12:08:40 +07:00