611 Commits

Author SHA1 Message Date
Louis
1964a9cf4d
fix: hide placeholder python engine and unsupported openai o1 system role (#4455) 2025-01-15 19:26:44 +07:00
Faisal Amir
231c7116ea
chore: add chat completion field form add remote engine (#4452) 2025-01-15 15:45:52 +07:00
Louis
06ee10be1b
chore: deprecate tensorrt-llm extension (#4453) 2025-01-15 15:43:16 +07:00
Louis
58bb1b4939
fix: incorrect default max_tokens set - legacy issue (#4451)
* fix: incorrect default max_tokens set - legacy issue

* chore: bump cortex server
2025-01-15 12:37:29 +07:00
Ashley
1174772958 Updated some copies in Settings 2025-01-14 22:13:10 +07:00
Ashley
97cd0224f1 Updated parameters descriptions 2025-01-14 20:54:26 +07:00
Faisal Amir
2a0601f75a
feat: remote engine management (#4364)
* feat: remote engine management

* chore: fix linter issue

* chore: remove unused imports

* fix: populate engines, models and legacy settings (#4403)

* fix: populate engines, models and legacy settings

* chore: legacy logics update configured remote engine

* fix: check exist path before reading

* fix: engines and models persist - race condition

* chore: update issue state

* test: update test cases

* chore: bring back Cortex extension settings

* chore: setup button gear / plus based apikey

* chore: fix remote engine from welcome screen

* chore: resolve linter issue

* chore: support request headers template

* chore: update engines using header_template instead of api_key_template

* chore: update models on changes

* fix: anthropic response template

* chore: fix welcome screen and debounce update value input

* chore: update engines list on changes

* chore: update engines list on change

* chore: update desc form add modal remote engines

* chore: bump cortex version to latest RC

* chore: fix linter

* fix: transform payload of Anthropic and OpenAI

* fix: typo

* fix: openrouter model id for auto routing

* chore: remove remote engine URL setting

* chore: add cohere engine and model support

* fix: should not clean on app launch - models list display issue

* fix: local engine check logic

* chore: bump app version to latest release 0.5.13

* test: fix failed tests

---------

Co-authored-by: Louis <louis@jan.ai>
2025-01-14 17:29:56 +07:00
Louis
dfdf417cc1
Merge pull request #4438 from janhq/chore/bump-engine-version-to-0.1.43
chore: bump engine version to 0.1.43
2025-01-13 09:34:36 +07:00
Louis
a3077ea4a5
chore: bump engine version to 0.1.43 2025-01-13 09:15:45 +07:00
Louis
d2717fb8df fix: load model fail on windows 2025-01-12 16:10:37 +07:00
Louis
09dacef0de
chore: correct CSS of extension settings 2025-01-08 06:53:33 +07:00
Louis
d63c24851a
enhancement: Update Cortex page with better description & UX 2025-01-08 00:40:48 +07:00
Louis
b4d2176280
Merge pull request #4408 from janhq/main
Sync release 0.5.13 into dev
2025-01-06 21:01:49 +07:00
Louis
e3d44c9e7b
chore: resolve hotfix into dev (#4409) 2025-01-06 20:43:16 +07:00
Louis
3cd4c9852a
chore: bump latest cortex release 1.0.8 (#4405) 2025-01-06 14:24:12 +07:00
Louis
d17c2ea5e5
fix: input scrolls to the bottom when set the caret to the top (#4399)
* fix: input scrolls to the bottom on long inputs

* test: fix failed tests
2025-01-03 23:47:27 +07:00
Faisal Amir
538a6bf923
fix: send event opt out (#4390)
* fux: send event opt out from button deny

* chore: fix copy

* chore: update placeholder
2025-01-02 21:04:09 +07:00
Louis
27e40c35d8
chore: add cpu_threads settings in cortex extension 2025-01-02 13:03:16 +07:00
Louis
2f755eeb8e
fix: if the default engine isn't installed, the app should reset it 2025-01-01 14:03:43 +07:00
Louis
8ccf02a26d
fix: bump llama.cpp engine hotfix version to address mode load issue on some Intel machines 2024-12-31 19:25:47 +07:00
Louis
8ae1e4a24a
chore: refactor core and server packages 2024-12-31 18:38:14 +07:00
Louis
947522e752
chore: simplify the build steps by reducing redundant yarn installs 2024-12-31 13:22:43 +07:00
Faisal Amir
fc7a771432
enhancement: update ui delete engine with modal confirmation (#4359)
* enhancement: update ui delete engine with modal confirmation

* chore: fix linter
2024-12-31 10:10:46 +07:00
Louis
6d88b824a3
Merge pull request #4363 from janhq/chore/reduce-extensions-build-time
chore: refactor extensions build script for optimization
2024-12-31 10:04:18 +07:00
Louis
da55b46240
Merge pull request #4360 from janhq/main
chore: sync latest main into dev
2024-12-30 22:37:02 +07:00
Louis
b8bd846744
chore: refactor extensions build script for optimization 2024-12-30 22:10:48 +07:00
Faisal Amir
a6a0cb325b
feat: local engine management (#4334)
* feat: local engine management

* chore: move remote engine into engine page instead extension page

* chore: set default engine from extension

* chore: update endpoint update engine

* chore: update event onEngineUpdate

* chore: filter out engine download

* chore: update version env

* chore: select default engine variant base on user device specs

* chore: symlink engine variants

* chore: rolldown.config in mjs format

* chore: binary codesign

* fix: download state in footer bar and variant status

* chore: update yarn.lock

* fix: rimraf failure

* fix: setup-node@v3 for built-in cache

* fix: cov pipeline

* fix: build syntax

* chore: fix build step

* fix: create engines folder on launch

* chore: update ui delete engine variant with modal confirmation

* chore: fix linter

* chore: add installing progress for Local Engine download

* chore: wording

---------

Co-authored-by: Louis <louis@jan.ai>
2024-12-30 17:27:51 +07:00
Louis
a33563be9a
chore: bump cortex latest version 1.0.7 (#4357) 2024-12-30 16:36:24 +07:00
Louis
9b8d8ab3f7
chore: bump cortex 1.0.7 RC (#4355)
* chore: bump cortex 1.0.7 rc

* chore: test update
2024-12-30 13:37:16 +07:00
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
3cd4db0a92
chore: bump latest cortex stable release version (#4336) 2024-12-26 10:52:16 +07:00
Louis
dccd9dd77c
chore: bump cortex 1.0.6-rc (#4330) 2024-12-24 09:56:02 +07:00
Louis
24222679fb
fix: cleaning a thread should just clear out messages (#4316)
* fix: cleaning a thread should just clear out messages

* chore: clean up
2024-12-23 12:35:30 +07:00
Louis
5163e124d8
chore: add OpenAI gpt-4o-mini and o1 models (#4311) 2024-12-21 20:01:04 +07:00
Louis
4e43f9798d
fix: fetch threads and messages without limiting (#4304)
* fix: threads and messages are cutoff

* fix: threads sorting

* chore: bump cortex latest release and app version
2024-12-20 17:55:23 +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
6e786170e8
chore: bump cortex 1.0.5 rc2 2024-12-18 16:56:07 +07:00
Louis
ef4dcb7d9e
chore: bump cortex and engine 2024-12-16 22:10:58 +07:00
Louis
bb106eba01
fix: image and attachments 2024-12-16 17:27:06 +07:00
Louis
5a4c5eee83
Merge branch 'dev' into feat/threads-messages-requests-to-backend 2024-12-13 13:12:57 +07:00
Louis
707c23fa83
Merge pull request #4266 from janhq/fix/4238-wrong-max-tokens-remote-models
fix: 4238 - fix default max_tokens set on remote models
2024-12-13 12:41:15 +07:00
Louis
174f1c7dcb
feat: reroute threads and messages requests to the backend 2024-12-12 16:38:55 +07:00
Louis
aac2216aef
fix: 4238 - fix default max_tokens set on remote models 2024-12-12 13:20:39 +07:00
Louis
977ac3ae98
chore: 4244 - deprecate groq llama 3.1 70B Versatile 2024-12-12 10:05:35 +07:00
Louis
20a652e0eb
chore: fix openai vision models 2024-12-07 14:35:03 +07:00
hiento09
1778620fe2
feat: macos universal (#4197)
* feat: macos universal

* chore: build universal for hnswlib-node on macos

---------

Co-authored-by: Service Account <service@jan.ai>
2024-12-04 16:00:44 +07:00
Louis
68a8293179
chore: add NGL settings for vision models 2024-12-04 13:40:39 +07:00
Louis
fb0a916c50
fix: 4155 - Queue up health check on server restarting 2024-12-03 16:17:46 +07:00
Louis
a4467cf5bf
chore: bump version 0.5.10 2024-12-02 17:33:01 +07:00