68 Commits

Author SHA1 Message Date
Louis
eda0d639f0
fix: clean up threads persistence and fix assistant update issue 2025-05-15 17:10:55 +07:00
Lại Tuấn Anh
bcc9f74607
fix: use more appropriate html tag for 'ModelDropdown' trigger and 'Settings' button (#4841) 2025-03-31 14:39:48 +07:00
Lại Tuấn Anh
5d9dd92625
fix: main-chat-page: warnings from React (#4855)
* fix/home-page: warnings from React

* minor changes

* minor changes

* update electron/package.json
2025-03-31 14:39:20 +07:00
Faisal Amir
f2b1d68ab1 enhancement: add checkmark selected model 2025-03-11 14:49:27 +07:00
Louis
dda0feb548
fix: Jan Quick Ask window capture input issues (#4758) 2025-02-28 16:50:08 +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
Faisal Amir
2ea8083ad7
enhancement: scrollbar setting options (#4726)
* enhancement: scrollbar setting options

* chore: fix linter
2025-02-25 09:37:04 +07:00
Louis
81fea5665b
chore: enhance onboarding screen's models (#4723)
* chore: enhance onboarding screen's models

* chore: lint fix

* chore: correct lint fix command

* chore: fix tests
2025-02-25 09:36:55 +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
d2336cfb0f
fix: model dropdown icon miss align (#4645) 2025-02-13 17:18:46 +07:00
Faisal Amir
6e891d9a3b
fix: remove from list dropdown when deleted remote model (#4616)
* fix: remove from list dropdown when deleted remote model

* chore: update logic
2025-02-10 20:19:47 +07:00
Louis
a87bbd2840
chore: add google gemini and deepseek as new supported remote engine providers (#4596)
* chore: add google gemini and deepseek as new supported remote engine providers

* chore: add logos

* chore: fallback default error message on empty

* chore: update open router models

* chore: typo fix

* chore: remove unusable queen vl
2025-02-06 20:52:42 +07:00
Louis
4846befd4a
chore: engine model adding ux refinement (#4580)
* fix: enhance remote engine models adding UX

* fix: OpenAI o3 support template

* chore: fix models populating error

* chore: missing dependency
2025-02-05 15:28:35 +07:00
Louis
144b836935
fix: app does not reload model when prompt template is updated (#4537)
* fix: app does not reload model when prompt template is updated

* chore: lint fix
2025-01-29 21:50:17 +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
Louis
9cf63f87cc
chore: fix type access 2025-01-18 09:16:32 +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
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
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
df1c465fd9
fix: app picks model automatically edge cases (#4322) 2024-12-23 15:52:18 +07:00
Faisal Amir
af84a3a8d9
fix: scroll bottom issue (#4308) 2024-12-20 22:39:08 +07:00
Faisal Amir
7d07e995ab
feat: handle case thread when original model deleted (#4280) 2024-12-18 18:37:26 +08:00
Louis
5a4c5eee83
Merge branch 'dev' into feat/threads-messages-requests-to-backend 2024-12-13 13:12:57 +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
fe190658c1
fix: 4209 - Inconsistent max tokens value persistence 2024-12-04 12:31:40 +07:00
Louis
4618dea029
fix: inconsistent model dropdown list and my models 2024-11-11 14:02:05 +07:00
Louis
2a0d87a393
fix: inconsistent models from dropdown and hub 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
90c7420c34
chore: add comments and clean unused imports 2024-11-04 15:37:18 +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
9867634b5a
feat: support markdown on user message (#3848)
* feat: enable render markdown for user message

* wip: slate

* style: update style rich text editor

* chore: finalize richText editor

* chore: fix model dropdown selector

* chore: fix change format file syntax highlight

* chore: fix missing element during the test

* fix: adjust onPrompChange include on fake textarea
2024-10-22 15:44:34 +07:00
Faisal Amir
5e8a27b010
fix: issue ellipsis text on model selector and loader model start (#3802) 2024-10-15 12:57:37 +07:00
Faisal Amir
81110da8ea
fix: overlap text model selector and loading (#3757) 2024-10-03 20:19:07 +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
Faisal Amir
886b1cbc54
enhance: tabs component in model selection (#3730)
* ui: tabs-model-selection

* chore: updat tabs variant

* test: update test and render correct tab
2024-09-24 20:14:43 +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
Faisal Amir
f759fae55f
feat: enable model dropdown search by configured model (#3466) 2024-09-05 14:10:41 +07:00
Faisal Amir
fb01216ae2
fix: disabled UI RAG and tools (#3514)
* fix: UI RAG & tools do not support for remote models

* chore: update dependencies hooks
2024-09-05 09:54:03 +07:00
Faisal Amir
bc4bbd32ab
fix: wrong classname icon (#3474)
* fix: fix wrong classname icon

* fix: button flashing on chat input
2024-08-27 18:26:36 +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
35f68511fb
fix: decreased scrollbar width to avoid overlap small width component (#3432) 2024-08-22 11:17:51 +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
73ec5de001
fix: save state toggle input box setting (#3402)
* fix: save input box setting

* fix: active icon state when model tab is active, and increased textarea instruction

* chore: update button modal inference
2024-08-20 19:00:00 +07:00
Faisal Amir
d14ce6fb86
chore: small ui improvement (#3414)
* chore/small-ui-nits

* chore: fix typo
2024-08-20 18:59:35 +07:00
Faisal Amir
d88c096c54
fix: disable remote model when user did not setup apiKey, and change cursor when disabled (#3415) 2024-08-19 22:46:18 +07:00