240 Commits

Author SHA1 Message Date
hiento09
bd0e525d66
chore: upgrade to turbo v2 and reduce ci quality gate runtime (#4324)
* chore: upgrade to turbo v2 and reduce ci quality gate runtime

* chore: upgrade to yarn v4 and deprecate turborepo

* chore: reconfigure modules and fix tests

* chore: switch to github-hosted runner

* fix: dependency resolving

* chore: clean redundant step

* chore: headless test

* chore: remove headed param

* fix: resolve dependency version

* fix: ubuntu no-sandbox test

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
Co-authored-by: Louis <louis@jan.ai>
2024-12-29 17:46:15 +07:00
Louis
4489af6ad9
chore: deprecate Jan core's REST module - all API requests go to cortex.cpp (#4297) 2024-12-19 21:37:37 +07:00
Louis
b81b008a93
chore: use seconds timestamp system 2024-12-19 11:38:10 +07:00
Louis
8613e35c15
fix: timestamp issue 2024-12-17 17:12:03 +07:00
Louis
bb106eba01
fix: image and attachments 2024-12-16 17:27:06 +07:00
Louis
d310d651b8
chore: fix thread assistants retrieval 2024-12-13 12:59:46 +07:00
Louis
174f1c7dcb
feat: reroute threads and messages requests to the backend 2024-12-12 16:38:55 +07:00
Louis
4da37087b6
fix: 4162 - Graceful Openrouter error handling 2024-12-03 16:01:43 +07:00
Louis
873dd41460
fix: 4098 - factory reset closes the app & never opens again on Linux 2024-11-27 15:27:59 +07:00
Louis
dc649bf523
fix: 4096 - failed to get huggingface models 2024-11-27 00:14:43 +07:00
Louis
1a75459004
chore: remove a couple of deprecated server apis 2024-11-25 23:53:36 +07:00
Faisal Amir
314cb03693
feat: stop word model setting (#4113)
* feat: stop word model setting

* chore: update test tag input

* chore: handle UI when no stop word

* chore: fix types of value tag input
2024-11-25 21:17:16 +07:00
Louis
c6e1bb55f9
chore: remote models error handling 2024-11-20 21:14:37 +07:00
Louis
11637c5244
fix: correct OpenAI o1 model parameters 2024-11-19 22:10:12 +07:00
Louis
28add39a51
chore: add model pull options - correct url path 2024-11-19 16:39:23 +07:00
Louis
e9fd7f4554
fix: models load 2024-11-18 18:22:09 +07:00
Louis
4618dea029
fix: inconsistent model dropdown list and my models 2024-11-11 14:02:05 +07:00
Louis
487fd27912
test: remove outdated test 2024-11-09 12:21:51 +07:00
Louis
4a414bf5e9
chore: proxy all /models methods to cortex.cpp 2024-11-08 18:16:09 +07:00
Louis
81015bab3c
chore: clean nitro stuffs 2024-11-08 18:03:37 +07:00
Louis
60235a4078
chore: proxies Jan APIs to cortex.cpp 2024-11-08 17:59:09 +07:00
Louis
9d57ecd6f3
chore: retrieves the exact model running status upon message error 2024-11-08 13:38:34 +07:00
Louis
964269dc46
fix: 3911 - inconsistent between download progress and model hub 2024-11-06 09:20:54 +07:00
Louis
46d5faf59f
chore: new cortex-cpp binary - model import option and model size 2024-11-04 20:36:04 +07:00
Louis
a986c6de2d
chore: decide model name on pull and import 2024-11-04 15:37:20 +07:00
Louis
61f72e6775
chore: bump cortex-cpp v1.0.2-rc1 2024-11-04 15:37:19 +07:00
Louis
83edc1fbc7
chore: linter and test 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
8f778ee90f
feat: app supports cortex.cpp model downloader and legacy downloader - maintain legacy JSON models 2024-11-04 15:37:18 +07:00
Louis
9afbfd609a
test: correct test cases 2024-11-04 15:37:16 +07:00
Louis
981675f365
chore: API server works with cortex.cpp 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
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
f3aa40bc0b
chore: clean obsolete local provider codes 2024-11-04 15:37:13 +07:00
Louis
4080dc4b65
feat: model and cortex extensions update 2024-11-04 15:37:12 +07:00
Faisal Amir
b37d4a5c7e
fix: types issue (#internalTypeOnlyBrand) in the @types/node package (#3921) 2024-10-31 21:17:25 +07:00
Louis
143f2f5c58
fix: wrong model download location when there is a mismatch model_id (#3733) 2024-09-26 12:43:34 +07:00
Louis
f46ab45e0e
fix: #3727 LLM model download fail can still be used (#3731)
* fix: #3727 - LLM model download fail can still be used

* test: add tests

* test: fix path on Windows
2024-09-25 09:46:46 +07:00
Louis
dbc4bed40f
fix: #3673 - API responds with Request body is too large (#3729) 2024-09-24 20:26:06 +07:00
Louis
c5e0c93ab4
test: add missing tests (#3716) 2024-09-23 13:54:52 +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
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
5217437912
fix: #3549, #3552 - Inference on CPU is slower on Jan 0.5.3 (#3602) 2024-09-11 14:03:53 +07:00
Louis
846efb3126
test: add core modules test cases (#3498)
* chore: add core module test cases

* chore: fix tests

* chore: add code coverage report

* chore: split coverage step

* chore: split coverage step

* Update jan-electron-linter-and-test.yml

* Update jan-electron-linter-and-test.yml

* Update jan-electron-linter-and-test.yml

* chore: update tests

* chore: add web utils test cases

* chore: add restful and helper tests

* chore: add tests
2024-09-06 11:14:28 +07:00
Faisal Amir
e9b657ae4e
feat: add setting options to dropdown menu (#3554)
* feat: add setting options to dropdown menu

* chore: update comment
2024-09-05 09:49:47 +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
hiento09
c798e9b8e2
Chore upgrade cortex 0.5.0 (#3462)
* Windows download default llamacpp engines

* Add download cortex llamacpp engine for linux and macos

* fix: add engine to nitro request body

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
Co-authored-by: marknguyen1302 <nguyenvu1302.work@gmail.com>
2024-08-27 10:22:34 +07:00