## Description
According to #1287, the web version will be updated accordingly. There is no need to use the electron app version anymore. It's to reduce the IPC dependency and reduce requests.
* 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>
* chore: expose fs apis
* chore: correct electron import path
* update download api
Signed-off-by: James <james@jan.ai>
* update chat_completion
Signed-off-by: James <james@jan.ai>
* fix electron import
Signed-off-by: James <james@jan.ai>
* feat: adding API support at 1337 (#991)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
* feat: Add /chat/completion api and handler
* chore: add todo for modelList
* chore: read engine.json for openai chat_completion (#1030)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
* refactor: move routes to shared node module
* refactor: exported modules from core with types (#1172)
* refactor: exported modules from core with types
* fix: fix file reading args
* refactor: fileManager handles
* fix: app issues with server refactoring
* refactor: shared server module (#1210)
* chore: resolve main
* chore: update makefile
---------
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
Co-authored-by: NamH <NamNh0122@gmail.com>
Co-authored-by: hiro <vuonghoainam.work@gmail.com>
When a user clears the conversation in a thread, the last message displayed was still the old one. This led to confusion about whether or not the user had successfully cleared the conversation.
* feat: adding model params
Signed-off-by: James <james@jan.ai>
* chore: inference request parameter
* Improve ui right panel model params
* Remove unused import
* Update slider track for darkmode
---------
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
Co-authored-by: Louis <louis@jan.ai>
Co-authored-by: Faisal Amir <urmauur@gmail.com>
* 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
* Make thread screen as default screen
* Blank state when user have not any model
* Cleanup topbar thread screen
* Improve style right panel
* Add instructions right panel
* Styling thread list history
* Resolve conflict
* Default title new thread
* Fix trigger panel sidebar
* Make default right panel false when no activethread
* Fix CI test
* chore: assistant instruction with system prompt
* Fix title and blank state explore the hub
* Claenup style thread screen and add buble message for assitant
* Remove unused import
* Styling more menus on thread list and right panel, and make max height textarea 400 pixel
* Finished revamp ui thread
* Finished system monitor UI
* Style box running models
* Make animate right panel more smooth
* Add status arround textarea for starting model info
* Temporary disable hide left panel
* chore: system resource monitoring update
* copy nits
* chore: typo
* Reverse icon chevron accordion
* Move my models into setting page
---------
Co-authored-by: Louis <louis@jan.ai>
Co-authored-by: 0xSage <n@pragmatic.vc>
* 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>