141 Commits

Author SHA1 Message Date
Louis
52bb54d2d5
fix: glitch model download issue (#5322) 2025-06-17 23:01:22 +07:00
Louis
9ab69b157b
🐛fix: Jan-nano repo name changed (#5274) 2025-06-15 11:17:41 +07:00
Louis
a10dbef2c8
enhancement: Model sources should not be hard coded from frontend (#5270) 2025-06-14 22:00:43 +07:00
Louis
23240f958e
Merge pull request #5262 from menloresearch/chore/sync-new-hub-data
chore: sync new hub data
2025-06-13 17:05:49 +07:00
Louis
171b1e8c60
fix: handle tool availability states (#5183)
* fix: handle tool availability states

* Update web-app/src/hooks/useToolAvailable.ts

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update web-app/src/hooks/useToolAvailable.ts

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Update web-app/src/hooks/useToolAvailable.ts

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* fix: hub refresh

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-04 00:17:39 +07:00
Louis
38c9cf9a68
refactor: deprecate legacy packages and clean up build scripts (#5162)
* refactor: deprecate legacy packages and clean up build scripts

* chore: remove joi publish workflow

* chore: core publish run on dispatch only

* chore: correct version bump on web package

* chore: make dev for tauri target
2025-06-02 14:29:17 +07:00
Louis
2bc8fccaf0
chore: allow users to enable/disable MCP servers (#5015) 2025-05-19 13:15:37 +07:00
Louis
e9f37e98d1
refactor: remove hardcoded provider names (#4995)
* refactor: remove hardcoded provider names

* chore: continue the replacement
2025-05-15 22:10:43 +07:00
Louis
27beb46801
feat: tauri toolkit 2025-05-15 17:09:58 +07:00
Louis
b64749b4bb
fix: distinguish between hub and models search (#4989)
* fix: distinguish between hub and models search

* chore: refresh models hub when going to hub screen
2025-05-14 12:08:33 +07:00
Louis
9d64e9bef4
chore: merge release/v0.5.16 into dev (#4833)
* chore: bump cortex 1.0.11-rc10

* chore: bump to latest cortex release

* feat: Cortex API Authorization

* chore: correct CI CD repo name

* chore: correct new menloresearch repo name

* feat: rotate api token for each run (#4820)

* feat: rotate api token for each run

* chore: correct github repo url

* chore: correct github api url

* chore: should not filter out models first launch

* chore: bump cortex release

* chore: should get hardware information on launch (#4821)

* chore: should have an option to not revalidate hardware information

* chore: cortex.cpp gpu activation could cause a race condition (#4825)

* fix: jan beta logo displayed in jan release (#4828)

---------

Co-authored-by: David <davidpt.janai@gmail.com>
Co-authored-by: Nguyen Ngoc Minh <91668012+Minh141120@users.noreply.github.com>
2025-03-24 11:53:30 +07:00
Faisal Amir
33055b8db6 chore: janhq to menloresearch 2025-03-18 13:06:17 +07:00
Louis
4f7a8d58ca
refactor: clean up legacy vision model settings (#4777) 2025-03-06 09:53:31 +07:00
Louis
b0deeed937
chore: sync initial hub models (#4778)
* chore: sync initial hub models

* fix: openai request template
2025-03-04 22:33:19 +07:00
Louis
a8aa938f42
refactor: clean up deprecated components and events (#4769) 2025-03-03 22:20:39 +07:00
Louis
f586c19951
chore: correct model author with new cortexso update (#4754) 2025-02-27 15:08:38 +07:00
Louis
d7329c7719
chore: remove hard coded recommendation models and use cortexso featured tags (#4741)
* chore: remove hard coded recommendation models and use cortexso featured tags

* chore: polish model detail page

* chore: fix test
2025-02-26 15:54:06 +07:00
Louis
60257635ad
fix: should not select vulkan by default when there are Nvidia GPUs detected (#4720) 2025-02-24 18:51:22 +07:00
Louis
bc2f382e64
chore: migrate engine settings on update (#4719)
* chore: migrate engine settings on update

* chore: queue engine migration to ensure it only execute when server is on

* chore: ensure queue is empty instead of running in the queue
2025-02-24 11:29:11 +07:00
Louis
fddb7251fb
feat: Jan Model Hub should stay updated. (#4707)
* feat: Jan Model Hub should stay updated.

* chore: polish provider description
2025-02-20 23:25:03 +07:00
Louis
badc632ee4
refactor: different Jan builds should have different Cortex server port (#4699)
* refactor: different Jan instances should have different Cortex server port configurations

* chore: update workflow to use env input

* chore: update env for cortex port setting
2025-02-20 15:53:16 +07:00
Louis
dc06a07c71
Merge branch 'release/v0.5.15' into chore/sync-release-to-dev
# Conflicts:
#	extensions/engine-management-extension/rolldown.config.mjs
#	extensions/inference-cortex-extension/bin/version.txt
#	extensions/yarn.lock
#	web/containers/Layout/BottomPanel/SystemMonitor/index.tsx
#	web/containers/ModelDropdown/index.tsx
#	web/containers/ModelLabel/ModelLabel.test.tsx
#	web/screens/Settings/HuggingFaceRepoDetailModal/ModelDownloadRow/index.tsx
#	web/screens/Thread/ThreadCenterPanel/TextMessage/MarkdownTextMessage.tsx
#	web/screens/Thread/ThreadCenterPanel/TextMessage/index.tsx
#	yarn.lock
2025-02-18 16:33:58 +07:00
Faisal Amir
daa7c0ca21
feat: better hardware setting (#4471)
* feat: better hardware setting

* chore: update layout

* feat: better hardware setting

* chore: fix title section

* chore: added hardware engine management

* chore: integrate gpus and enable set gpu activate

* chore: update calculate ram and vram

* chore: update calulate vram and ram used

* fix: set active gpus

* chore: fix progress bar spacing

* chore: always update cache vram gpu

* chore: update cpu usage percentage

* chore: fix type usage cpu

* chore: update ram cpus usage getsystemmonitor from new api harware engine management system

* test: update test case data using hardware management extension

* chore: resolve conflict lock json

* chore: cleanup app services

* chore: update type OperationSystemInfo

* chore: update app service

* chore: show list gpus on system monitor

* chore: remove monitoring extension

* chore: update test case app service

* chore: remove unused hooks useGpusSetting

* chore: remove monitor from shource index

* chore: fix test core

* chore: update gpu and cpu info on engine management ext

* chore: fix app service test

* chore: update test appService include cpu info

* chore: filter gpus show or hide on system monitor based activated gpu

* chore: remove unused run_mode

* chore: remove tensort

* chore: update check gpu run_mode

* chore: handle undefined gpus

* chore: cleanup PR

* chore: cleanup process node error

* chore: fix type
2025-02-03 22:01:08 +07:00
Louis
83f090826e
feat: Jan Hub Revamp (#4491)
* feat: model hub revamp UI

* chore: model description - consistent markdown css

* chore: add model versions dropdown

* chore: integrate APIs - model sources

* chore: update model display name

* chore: lint fix

* chore: page transition animation

* feat: model search dropdown - deeplink

* chore: bump cortex version

* chore: add remote model sources

* chore: model download state

* chore: fix model metadata label

* chore: polish model detail page markdown

* test: fix test cases

* chore: initialize default Hub model sources

* chore: fix model stats

* chore: clean up click outside and inside hooks

* feat: change hub banner

* chore: lint fix

* chore: fix css long model id
2025-01-28 22:23:25 +07:00
Ashley
1174772958 Updated some copies in Settings 2025-01-14 22:13:10 +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
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
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
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
fe6412e1d4
feat: configure HuggingfaceToken via cortex.cpp 2024-11-21 13:13:29 +07:00
Louis
3ea2d9c0ae
fix: bump cortex.cpp to latest version - recursively scanning models folder should also include remote models 2024-11-20 12:33:42 +07:00
Louis
b4f25408c4
chore: append vision models to legacy list 2024-11-20 00:08:56 +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
bd850fb357
chore: reduce destroy attempts 2024-11-19 13:27:49 +07:00
Louis
363008d37f
fix: model import edge cases 2024-11-19 11:44:19 +07:00
Louis
e9fd7f4554
fix: models load 2024-11-18 18:22:09 +07:00
Louis
1bd58e1327 fix: shift model events subscription to cortex 2024-11-12 15:46:14 +07:00
Louis
4618dea029
fix: inconsistent model dropdown list and my models 2024-11-11 14:02:05 +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
9d57ecd6f3
chore: retrieves the exact model running status upon message error 2024-11-08 13:38:34 +07:00
Louis
a773e169fc
fix: an edge case where auto import does not work with relative model file path 2024-11-07 14:26:41 +07:00
Louis
2e9b7fdad2
chore: add import name for legacy models 2024-11-07 13:34:09 +07:00
Louis
264720c71a
chore: support customized OpenAI model.json 2024-11-06 16:46:27 +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
5ddbf5fb34
fix: unlink the entire model folder on delete 2024-11-04 15:37:20 +07:00
Louis
1ab02b706f
fix: model import symlink 2024-11-04 15:37:19 +07:00
Louis
e5f5d887e3
fix: persists model.json on download (legacy models) 2024-11-04 15:37:19 +07:00