* feat(Model): #1028 made model.json optional
Signed-off-by: James <james@jan.ai>
---------
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
* Add js function to generate gpu and cuda detection
* inference nitro manage via json file instead of bash and bat script
* Add /usr/lib/x86_64-linux-gnu/ to linux check gpu
* chore: add CPU - GPU toggle
* correct file path
* fix: exist file sync check
* fix: get resources path
* Fix error jan/engines create existed error
* Seting sync to file
* Fix error show notification for GPU
* Set notify default to true
---------
Co-authored-by: Hien To <tominhhien97@gmail.com>
Co-authored-by: Louis <louis@jan.ai>
* 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
* refactor: model plugin to follow new specs
Signed-off-by: James <james@jan.ai>
* chore: rebase main
chore: rebase main
---------
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
Co-authored-by: Louis <louis@jan.ai>