681 Commits

Author SHA1 Message Date
Faisal Amir
f8557c78d5
fix: think content render as markdown (#4564)
* fix: think content render as markdown

* chore: fix linter issue failed on CI
2025-02-04 14:54:21 +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
Faisal Amir
72b9aaeba1
enhancement: remote engine model (#4560)
* enhancement: add option delete model remote engine

* enhancement: add menu delete remote engine models
2025-02-03 20:36:31 +07:00
Faisal Amir
899f01d5c4
enhancement: update ui uploading files and images (#4562) 2025-02-03 20:36:19 +07:00
Faisal Amir
043284f51e
chore: reasoning block (#4551)
* chore: reasoning text block

* chore: update interface support all theme

* chore: update failed test

* chore: update state collapsed based on message index

* fix: use reserve_id instead of message index

* chore: clean up

* chore: fix loading indicator

---------

Co-authored-by: Louis <louis@jan.ai>
2025-02-01 22:22:45 +07:00
Faisal Amir
010802012f
fix: broken range slider ctx lenght (#4535) 2025-01-28 23:15:02 +07:00
Faisal Amir
c46e30d001
enhancement: unconsistent text color model name, hidden api-key field, and chat completion field under advance setting (#4532) 2025-01-28 21:45:32 +07:00
Faisal Amir
be6de587c5
enhancement: update responsive setting and my model page (#4533) 2025-01-28 21:45:20 +07:00
Louis
6dd090acc1
feat: allow users to add remote models (#4534) 2025-01-28 18:07:59 +07:00
Faisal Amir
65c9bb9fe1
enhancement: update app layout with system monitor open (#4528) 2025-01-28 12:33:03 +07:00
Faisal Amir
afae57b52b
enhancement: added space scroll remote engine setting (#4523)
* enhancement: added space scroll remote engine setting

* chore: show icon history only left panel close on thread page
2025-01-27 20:22:54 +07:00
Faisal Amir
cdc7d2ba47
enhancement: minor ui refinements (#4521)
* enhancement: minor ui refinements

* chore: update test case
2025-01-26 20:41:52 +07:00
Doan Bui
83550cd0d1
Feat: Allow HTTP proxy authentication inputs (#4479)
* sub dir

* setting proxy

* test useConfigurations

* fix lint

* test

* test 2

* update check
2025-01-24 09:31:26 +07:00
Louis
9cf63f87cc
chore: fix type access 2025-01-18 09:16:32 +07:00
Louis
b81516a50f
chore: bump cortex latest rc 1.0.9-rc4 - fix engines list in my models page 2025-01-17 18:06:04 +07:00
Louis
a8cac58355
chore: refactor - clean out useEngines - mutate swr to update 2025-01-17 12:43:35 +07:00
Louis
f328c357da
fix: remote engine revamp issues 2025-01-17 11:32:13 +07:00
Louis
1affa5a144
fix: app crashes on select cloud model first time onboarding 2025-01-16 19:59:22 +07:00
Louis
89e21be09d
fix: linter 2025-01-16 16:32:54 +07:00
Louis
589fc53030
fix: race condition between model stop and engine update 2025-01-16 16:28:05 +07:00
Louis
713926e68c
chore: attempt to stop model before switching engine variant 2025-01-16 16:18:32 +07:00
Louis
91e0ca1263
chore: fix engine description hyperlink display 2025-01-16 10:29:06 +07:00
Louis
dd791b9527
Merge pull request #4457 from janhq/feat/move-cortex-extension-settings-to-engine
feat: move cortex extension settings to local engine page
2025-01-15 20:29:52 +07:00
Louis
0f4b35d179
fix: engines in settings sometime not populated properly 2025-01-15 19:51:48 +07:00
Louis
f5dd44c4cb
feat: move cortex extension settings to local engine page 2025-01-15 19:47:48 +07:00
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
Ashley
4e387a79f7
Merge pull request #4448 from janhq/chore/update-in-app-copy
Chore: Update in-app copy
2025-01-15 11:11:37 +07:00
Doan Bui
ffec1cfde3
feat: delete all threads (#4446)
* add delete all threads

* add testcase

* add testcase

* fix lint

* fix linter

* fix linter

* change position Delete All Threads
2025-01-15 11:00:31 +07:00
Ashley
6b44bde9c9 Resolved conflicts 2025-01-14 22:51:39 +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
Faisal Amir
548dd6c027
chore: resolve button state download engine variant (#4444) 2025-01-13 22:13:56 +07:00
Louis
55dbc9f9f5
fix: scrollable settings view 2025-01-08 06:59:33 +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
Faisal Amir
3f2d2ef10d
enhancement: instruction textare using autoresize (#4404) 2025-01-06 14:45:39 +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
Louis
f6ca24256a
fix: should not disable Vulkan support option 2025-01-02 08:52:51 +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
da55b46240
Merge pull request #4360 from janhq/main
chore: sync latest main into dev
2024-12-30 22:37:02 +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
81ad90b951
fix: stop button is gone after switching to a new model (#4356) 2024-12-30 14:30:34 +07:00
Louis
3af34c0d56
chore: Refactor thread state management (#4350)
* chore: Refactor thread state management

• Replace isGeneratingResponseAtom with isBlockingSendAtom
• Update dependencies in ChatBody, ChatInput, and MessageToolbar components
• Remove unused code and variables

* chore: clean states
2024-12-29 23:05:07 +07:00
Faisal Amir
c0f3fb5007
fix: regenerate scroll bottom (#4348) 2024-12-29 20:58:46 +07:00
Louis
5931dbede3
fix: send message button state reset on stop 2024-12-26 19:06:24 +07:00
Louis
b28cac7083
fix: render performance while generating messages (#4328) 2024-12-23 21:04:37 +07:00
Faisal Amir
e8e5c8c5f4
fix: disabled native resize textarea when textarea autogrowing (#4326)
* fix: disabled native resize textarea when textarea autogrowing

* fix: disabled auto resize on instruction field
2024-12-23 20:39:22 +07:00