333 Commits

Author SHA1 Message Date
Faisal Amir
ff01a6e7ed fix bug filter the list menu from command and make a symbol base on OS 2023-11-25 19:58:19 +07:00
Louis
f7f1e3da74 fix: app shows wrong performance tag, all say not enough ram on windows 2023-11-23 16:21:01 +07:00
Louis
d0c44f70f1 fix: catch nitro exit process for a clearer message 2023-11-22 22:36:00 +07:00
Louis
b5717e03fe fix: should not raise error for the non relevant model starting requests 2023-11-22 22:36:00 +07:00
Louis
de562ecaed chore: add stopping inference interface 2023-11-22 22:36:00 +07:00
Louis
c9cfebd7d3 chore: fix convo summary 2023-11-20 09:39:48 +07:00
Louis
d27fa7962f chore: typo 2023-11-20 09:39:48 +07:00
Louis
e6a295ccad chore: remove hacky delay 2023-11-20 09:39:48 +07:00
Louis
bb78683847 refactor: remove unused hooks and resolve no-explicit-any 2023-11-20 09:39:48 +07:00
Louis
9f0efa56ce chore: update convo last message 2023-11-16 22:57:28 +07:00
Louis
38b2e5e7a2 refactor: entities references & logics 2023-11-16 22:57:28 +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
89387c8a1b fix: state handling - should set active model to undefined if loaded fail 2023-11-14 21:02:29 +07:00
Louis
d7efd9813a chore: handle GGUFv1 error 2023-11-14 21:02:29 +07:00
Louis
7c2c1a2b3d chore: validate model status 2023-11-14 21:02:29 +07:00
Louis
67bc28dd85 chore: attempt to display the error message returned from the APIs 2023-11-14 21:02:29 +07:00
NamH
1fc9c4e220
fix(#591): prevent duplicate message id issue (#595)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2023-11-14 09:37:54 +07:00
Faisal Amir
ac1c7018d8 Update convo state when user change model 2023-11-09 12:39:27 +07:00
Faisal Amir
f5e39fe2d7 Fix showing name of active model when delete conversation 2023-11-08 20:03:43 +07:00
Faisal Amir
2394c13065
ui: standalone UIKit and refactor (#557)
* Eslint import order

* Initial Uikit

* Rename file with camelCase

* Remove unused code

* Remove unused code

* Set position traficlight mac

* Grouping Ribbon, Topbar and Bottombar as layout

* Added image brand

* Moving feature toggle into context folder

* Fix active state of setting menu

* Cleanup downloadModel atom helper

* Cleanup useGetConfigureModel

* Added wave animation

* Create useMainViewState intead of import helper atom

* Remove unused code

* Take a back switch ui

* Toggle using switch component

* Add dynamic primary color

* Cleanup import

* Added uikit scroll area

* Add best practice form

* Added toaster container

* Fix loader container

* Add hooks useDownloadState

* Added tooltip on ribbon menu

* Added case user multiple download model

* Adjust input style with bigger ring

* Restyle my model screen

* Replace useStartStop model with useActiveModel

* Import icon using Icon name

* Fix missing login loading start and stop model

* WIP integrate with cmdk

* Move layout search bar on middle of app

* Added function cancel download

* Cleanup model explore

* Cleanup unused code

* Move app version in bototmbar or footer

* WIP chat screen

* WIP chat screen

* Cleanup style and remove unsed code

* Added command for showing downloaded model

* Fix missing keyframe loader dot animation

* Conditional loader of plugin setting

* WIP history list message

* chore: rebase main

* Adding script ui into root package

* Fix different version react hooks form

* Add close toaster

* Added status model active or not on list of command

* Conditional showing info if user don't have a model

* Disabled toolbar chat when user not yet have convo

* chore: fix state

* fix: get resource atom

* Fix conditional bottom bar

* fix: model download state

* Fix font

* Improve icon my model

* Add toaster delete chat

* Remove test classname

* Fix scroll chat body

* Fix scrolling chat body

* chore: add message update

* Add uikit into depedencies on root package

* Update chat flow

* Fix hot reload ui changes

* Increate background color chat screen light mode

* Added visual conversation active state

* Added build:uikit on gh actions

* chore: attempt to fix CI

* fix: deps

* fix: tests

* chore: attempt to fix CI

---------

Co-authored-by: Louis <louis@jan.ai>
2023-11-07 21:27:11 +07:00
Louis
36c9807ae4 feat: JSON Conversational Plugin 2023-11-06 13:46:01 +07:00
Louis
96dba2690d feat: class-based plugin manager
chore: add facades

refactor: core module export

refactor: inference plugin - deprecate function registering (#537)

* refactor: revamp inference plugin as class - deprecate function registering

* refactor: monitoring plugin - deprecate service registering (#538)

refactor: revamp inference plugin as class - deprecate function registering

chore: update import

refactor: plugin revamp - model management

chore: update build steps and remove experimental plugins

refactor: remove pluggable electron

chore: add sorting for conversations

chore: build plugins for testing

chore: consistent plugin directory name

chore: docs

chore: fix CI

chore: update conversation prefix
2023-11-06 13:46:01 +07:00
Louis
37c36363d8
refactor: plugin manager and execution as ts (#504)
* refactor: plugin manager and execution as ts

* chore: refactoring
2023-11-01 09:48:28 +07:00
Louis
8dec75f9f0
chore: fix conversation summary does not work (#480) 2023-10-27 14:20:57 +07:00
NamH
0bd52e58ec
fix: download now change state immediately (#475)
* fix: download now change state immediately

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

* fix: add back last message

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

* update send button status

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

---------

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2023-10-27 14:10:47 +07:00
Service Account
d67b6419b5 janhq/jan: Update tag build 1.0.14 for inference-plugin 2023-10-26 14:08:55 +07:00
Louis
9903b033b0
fix: correct app version display (#452) 2023-10-26 08:59:28 +07:00
Louis
be01dcb859
fix: model is started but the indicator is not stopped loading (#446)
* fix: model is started but the indicator is not stopped loading

* chore: show loading indicator on the loading model row only

* Update README.md

---------

Co-authored-by: hiento09 <136591877+hiento09@users.noreply.github.com>
2023-10-25 15:51:03 +07:00
NamH
1fd47ba453
fix: duplicated messages when user switch between conversations (#441)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2023-10-24 20:30:06 -07:00
Faisal Amir
e05c08b95f
Merge pull request #438 from janhq/chore/loading-indicator-when-active-model
chore: added loader starting and stopping model
2023-10-25 09:17:37 +07:00
Louis
df5d75d1f8
fix: plugin & model catalog import cache are not cleared properly (#437)
* fix: plugin catalog cache is not wiped properly

* fix: import cache issue
2023-10-25 01:06:37 +07:00
Faisal Amir
bd72e4348e Added loader starting and stopping model 2023-10-25 00:36:11 +07:00
Faisal Amir
539b467141
ui: interface revamp (#429)
* feat: adding create bot functionality

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

* update the temperature progress bar

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

* WIP baselayout

* Mapping plugins with available preferences

* Added loader component

* WIP working another screen

* Cleanup types and avoid import one by one

* Prepare bottom bar

* Add css variables colors to enable user select the accent

* Enable change accent color

* Seperate css variable

* Fix conflict

* Add blank state of my model empty

* Restyle explore models page

* Enable user config left sidebar

* Restyle my models page

* WIP styling chat page

* Restyling chat message

* Fix conflict

* Adde form preferences setting plugins

* Fixed form bot info

* Sidebar bot chat

* Showing rightbar for both setting when user created bot

* Fix style bot info

* Using overflow auto intead of scroll

* Remove script built UI from root package

* Fix missig import

* Resolve error linter

* fix e2e tests

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

---------

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2023-10-24 10:59:12 +07:00