173 Commits

Author SHA1 Message Date
Louis
c9bef9ff35
feat: restart MCP servers to reflect config updates (#4917) 2025-04-17 15:25:24 +07:00
Faisal Amir
6aa2ea8da4 chore: update UI mcp settings 2025-04-15 20:05:19 +07:00
Louis
b252f716d7
refactor: Jan manages threads for a better performance (#4912)
* refactor: Jan manages threads for a better performance

* test: add tests
2025-04-15 18:57:43 +07:00
Louis
57786e5e45
Merge pull request #4900 from menloresearch/feat/jan-ui-with-tool-use
feat: jan UI with Tool use UX
2025-04-14 15:23:31 +07:00
Faisal Amir
a7c3cbec55 fix: table markdown 2025-03-11 15:57:19 +07:00
Faisal Amir
3bf88a3da1 chore: fix linter 2025-03-11 11:01:13 +07:00
Faisal Amir
8844046b19 fix: hub UI issue render readme 2025-03-11 11:00:47 +07:00
Faisal Amir
abfbb2616c
fix: image preview overlap toolbar message (#4790) 2025-03-10 16:36:30 +07:00
Louis
455d320d35
fix: engine version update - cortex version bump - update tests (#4787) 2025-03-10 13:26:48 +07:00
Faisal Amir
c79c10c96b
fix: list space styled and hidden message toolbar when editmode (#4773) 2025-03-03 20:42:07 +07:00
Louis
7d7d343de1
fix: first message padding is off 2025-02-28 21:23:11 +07:00
Faisal Amir
b4ba76aa71
chore: handle list number and disc readme hgf (#4756)
* chore: handle list number and disc readme hgf

* chore: fix space hover message toolbar

* chore: handle reset state filter hub revamp
2025-02-28 09:49:08 +07:00
Faisal Amir
250d30d73a
chore: hub UI tooltip filter, max model size and search result (#4753)
* chore: fix hub ui tooltip, max-filter, and search result

* chore: fix linter
2025-02-27 15:31:11 +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
916b28044d
fix: onboarding screen should show persisted cloud providers (#4738) 2025-02-26 14:29:36 +07:00
Faisal Amir
053604ec28
fix: chat body scrollbar (#4737)
* fix: chat body scrollbar

* chore: update lock file

* fix: remove PluggableList
2025-02-26 13:23:03 +07:00
Faisal Amir
a4368cf26e
enhancement: improve chat thread (#4736)
* enhancement: improve chat thread

* chore: fix linter

* fix: linter

* chore: fix linter

* fix: chore failed test
2025-02-26 09:42:31 +07:00
Faisal Amir
51f8c96a57
chore: update hub UI (#4734)
* chore: update hub ui based feedback

* chore: update hub ui

* chore: code block ui

* chore: update bg color

* chore: decrease margin codeblock
2025-02-25 14:37:15 +07:00
Louis
b990b259bc
refactor: clean up legacy predefined models (#4730)
* refactor: clean up legacy predefined models

* chore: fix onboarding filtered models
2025-02-25 12:40:37 +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
60257635ad
fix: should not select vulkan by default when there are Nvidia GPUs detected (#4720) 2025-02-24 18:51:22 +07:00
Louis
cddaf61c99
feat: preserve token speed in the thread (#4711)
* feat: preserve token speed in the thread

* chore: lint fix
2025-02-21 00:45:11 +07:00
Louis
046e8d5094
chore: Hub UI and markdown CSS 2025-02-19 15:20:59 +07:00
Louis
7d5aa46eef
chore: lint fix 2025-02-18 18:18:38 +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
9aed6523ea
fix: link open new window inside chat message (#4651)
* fix: link open new window inside chat message

* chore: fix linter
2025-02-14 22:29:02 +07:00
Louis
b8743cfb50
fix: messages re-render on different threads (#4638) 2025-02-12 16:32:10 +07:00
Louis
8419973d5e
chore: open URL from model detail page should open in an external browser (#4611)
* chore: open URL from model detail page should open in an external browser

* chore: remove unused param
2025-02-09 14:23:54 +07:00
Faisal Amir
a9a63ab5d9
fix: server log actions position (#4608)
* fix: sever log actions position

* chore: unused import
2025-02-09 13:07:08 +07:00
Faisal Amir
9837d09756
fix: load model error component (#4604)
* fix: load model error should using error component

* chore: fix linter issue
2025-02-07 22:18:21 +07:00
Faisal Amir
e99cbd9e5c
enhancement: code snippet color and bakground should depend on native theme (#4566) 2025-02-04 19:12:08 +07:00
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
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
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
Faisal Amir
65c9bb9fe1
enhancement: update app layout with system monitor open (#4528) 2025-01-28 12:33:03 +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
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
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
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
56d1ffa136
fix: scroll bottom when generation text (#4323)
* fix: scroll bottom when generation text

* chore: update logic when prepare generate

* chore: fix case no switch thread

* chore: remore dep thread id

* chore: handle fix generation without have dep thread id
2024-12-23 17:55:51 +07:00
Faisal Amir
abb718c57f
fix: width inputbox based on preference and remove tooltip image upload (#4315) 2024-12-23 12:14:49 +07:00
Faisal Amir
af84a3a8d9
fix: scroll bottom issue (#4308) 2024-12-20 22:39:08 +07:00