272 Commits

Author SHA1 Message Date
Faisal Amir
a6f2de922c chore: refactor rerender components 2024-11-18 16:10:57 +07:00
Louis
3f6fb1561b
fix: remove cuda toolkit error message and bring back incremental model import 2024-11-12 12:10:26 +07:00
Louis
9530c695d3
chore: lint fix 2024-11-11 11:47:04 +07:00
Louis
19879ef279 fix: model import name and id is wrong on Windows 2024-11-11 10:30:22 +07:00
Louis
848f9c5eed
fix: migrate model settings and parameters but still allow model.yml editing 2024-11-09 12:54:06 +07:00
Louis
43d0e272ed
fix: should maintain legacy jan model parameters 2024-11-08 16:19:13 +07:00
Louis
9ddd26d952
chore: maintain model.json settings - cortex.cpp might extract a wrong prompt template 2024-11-08 15:50:15 +07:00
Louis
264720c71a
chore: support customized OpenAI model.json 2024-11-06 16:46:27 +07:00
Louis
964269dc46
fix: 3911 - inconsistent between download progress and model hub 2024-11-06 09:20:54 +07:00
Louis
d2fa38f081
test: correct tests 2024-11-05 08:33:58 +07:00
Louis
46d5faf59f
chore: new cortex-cpp binary - model import option and model size 2024-11-04 20:36:04 +07:00
Louis
b913af9f88
chore: model id is optional on import 2024-11-04 15:37:21 +07:00
Louis
a986c6de2d
chore: decide model name on pull and import 2024-11-04 15:37:20 +07:00
Louis
8c759676d9
chore: fix responsible issue when importing models (cortex.cpp does not support download in parallel yet) 2024-11-04 15:37:20 +07:00
Louis
1ab02b706f
fix: model import symlink 2024-11-04 15:37:19 +07:00
Louis
a466bbca38
chore: update legacy tensorrt-llm download and run 2024-11-04 15:37:19 +07:00
Louis
3643c8866e
fix: correct model settings on startup and strip down irrelevant model parameters 2024-11-04 15:37:18 +07:00
Louis
a0e2f16a3b
chore: binary naming convention - following llama.cpp release 2024-11-04 15:37:17 +07:00
Louis
6c0c2a00d6
test: fix getModels test case does not work with useDebounce 2024-11-04 15:37:17 +07:00
Louis
03333cc4c2
fix: onboarding should cover cortex models - debounce reduce model reload - rename cortex binary name 2024-11-04 15:37:17 +07:00
Louis
9afbfd609a
test: correct test cases 2024-11-04 15:37:16 +07:00
Louis
e8a9e8e28c
fix: inherits model decoration metadata from Jan 2024-11-04 15:37:16 +07:00
Louis
8ccbb56f95
chore: unload model on message error - so users can attempt to start 2024-11-04 15:37:16 +07:00
Louis
40957f7686
fix: model reload state - reduce model unload events emit 2024-11-04 15:37:15 +07:00
Louis
895c3d4246
fix: tests - useModels with remote models filter 2024-11-04 15:37:15 +07:00
Louis
8129c2319f
fix: downloaded models should account for remote models 2024-11-04 15:37:14 +07:00
Louis
ba59425e6a
fix: tests 2024-11-04 15:37:14 +07:00
Louis
03e15fb70f
feat: sync model hub and download progress from cortex.cpp 2024-11-04 15:37:14 +07:00
Louis
4080dc4b65
feat: model and cortex extensions update 2024-11-04 15:37:12 +07:00
Faisal Amir
5d628a2748
feat: save instruction for new threads as a stable feature (#3798) 2024-10-15 00:22:58 +07:00
Louis
87e1754e3a
chore: improve models and threads caching (#3744)
* chore: managing and maintaining models and threads in the cache

* test: add tests for hooks
2024-10-01 10:15:30 +07:00
Louis
ba1ddacde3
fix: correct model dropdown for local models (#3736)
* fix: correct model dropdown for local models

* fix: clean unused import

* test: add Model.atom and model.Engine tests
2024-09-30 11:58:55 +07:00
Louis
8334076047
fix: #3491 - Unable to use tensorrt-llm (#3741)
* fix: #3491 - Unable to use tensorrt-llm

* fix: abortModelDownload input type
2024-09-30 11:58:46 +07:00
Louis
36c1306390
fix: #3515 - The default assistant instructions are ignored (#3721) 2024-09-24 10:40:45 +07:00
Louis
302b73ae73
test: add web helpers, services, utils tests (#3669)
* test: add web helpers tests

* fix: coverage report

* test: add more tests

* test: add more generated tests

* chore: add more tests

* test: add more tests
2024-09-20 14:24:51 +07:00
Faisal Amir
c62b6e9842
fix: small leftover issues with new starter screen (#3661)
* fix: fix duplicate render progress component

* fix: minor ui issue

* chore: add manual recommend model

* chore: make button create thread invisible

* chore: fix conflict

* chore: remove selector create thread icon

* test: added unit test thread screen
2024-09-17 22:13:18 +07:00
Louis
8e603bd5db
fix: #3476 - Mismatch id between model json and path (#3645)
* fix: mismatch between model json and path

* chore: revert preserve model settings

* test: add tests
2024-09-17 16:43:47 +07:00
Louis
98bef7b7cf
test: add model parameter validation rules and persistence tests (#3618)
* test: add model parameter validation rules and persistence tests

* chore: fix CI cov step

* fix: invalid model settings should fallback to origin value

* test: support fallback integer settings
2024-09-17 08:34:58 +07:00
Faisal Amir
3ffaa1ef7f
chore: temporary disabled starter screen (#3663)
* chore: temporary disabeld starter screen

* chore: create useStarter screen

* chore: fix typo

* chore: update config starter screen

* chore: update comment code

* chore: renmove some commented code
2024-09-16 11:17:36 +07:00
Louis
2d05134cb1
test: add tests to model settings's Slider Input (#3615)
* test: add tests to model settings's Slider Input

* test: add slider test

* test: fix expectation

* test: correct slider test
2024-09-10 16:36:29 +07:00
marknguyen1302
20f0e4301e fix: add engine in payload for nitro chat completion api 2024-08-28 11:34:35 +07:00
Mark Nguyen
52aa87a7ac
fix: import model by folder on win (#3463)
* fix: import model by folder on win

* expose getGgufFiles method

* fix the missing api

* clean log

* clean log
2024-08-27 10:35:10 +07:00
Louis
925cd04d20
chore: change jan default data folder path to app's userData (#3443)
* chore: change jan default data folder path to app's userData

* fix: legacy factory reset does not work properly

* chore: update jan data folder path on UI accordingly

* chore: change jan data folder to Jan/data
2024-08-23 19:21:24 +07:00
Louis
cf07465cad
fix: enable extensions migration (#3442) 2024-08-22 19:11:38 +07:00
Louis
7c9d49ba60
fix: preserve model settings should maintain all settings (#3435)
* fix: preserve model settings should maintain all settings

* fix: a legacy bug that allow sending empty stop string

* fix: blank default settings

* fix: incorrect persisting model update
2024-08-22 15:19:44 +07:00
Louis
ed584b898a
chore: fix linter issues (#3434) 2024-08-22 11:18:51 +07:00
Faisal Amir
77fd1728b9
fix: add toaster warning when blocked create new thread (#3433) 2024-08-22 11:17:35 +07:00
Louis
ad9a4a0b4d
feat: preserve model settings (#3427)
* feat: preserve model settings

* feat: preserve model settings across new threads

* chore: lint fix

* fix: feature toggle off should also affect default value retrieve
2024-08-21 21:28:29 +07:00
Faisal Amir
6a3b438558
feat: enable copy instruction (#3401) 2024-08-19 15:40:41 +07:00
Louis
b86dad6d44
chore: remove repeated console log that could slow down the fe on state update 2024-08-16 23:27:45 +07:00