127 Commits

Author SHA1 Message Date
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
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
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
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
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
Louis
d472f2e30c
chore: bump cortex version and fix misc UI issues (#4654) 2025-02-15 10:18:26 +07:00
Louis
7a6890bd7f
chore: remote engine error handling (#4646)
* chore: Gemini error handling

* chore: remote provider error handling

* chore: remote provider error handling

* chore: fix anthropic unsupported parameters

* chore: fix tests
2025-02-13 18:32:33 +07:00
Faisal Amir
0c0b7e5fcc
fix: error setting remote engine (#4648)
* fix: link setting error remote engine

* fix: change logo gemini, and resolve link error setting
2025-02-13 17:35:22 +07:00
Faisal Amir
c538c60ce0
fix: rename google gemini into gemini (#4644) 2025-02-13 16:01:48 +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
350c9f7def
chore: maintain app distinct_id on factory reset (#4541) 2025-01-29 21:52:00 +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
32436121c7
feat: remove umami (#4520) 2025-01-26 20:42:03 +07:00
Louis
96a14c23c4
chore: fix remote engines request templates 2025-01-17 13:24:17 +07:00
Louis
00930ebecb
fix: mismatch NGL number between UI and model settings 2025-01-15 20:02:03 +07:00
Louis
a7a497a386
test: fix failed test cases 2025-01-15 10:09:24 +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
a1ea94aeca
fix: attach file information into message metadata for a quick retrieval (#4298) 2024-12-19 22:01:13 +07:00
Louis
5b9c1fc668
fix: token speed disappear on complete 2024-12-19 12:10:14 +07:00
Louis
b81b008a93
chore: use seconds timestamp system 2024-12-19 11:38:10 +07:00
Faisal Amir
7d07e995ab
feat: handle case thread when original model deleted (#4280) 2024-12-18 18:37:26 +08:00
Louis
3a9c99972c
test: update test cases 2024-12-17 18:59:27 +07:00
Louis
8613e35c15
fix: timestamp issue 2024-12-17 17:12:03 +07:00
Louis
66e37d80d6
fix: attachment preview issue 2024-12-17 16:07:11 +07:00
Louis
8cc24df902
chore: clean up 2024-12-16 20:48:10 +07:00
Louis
bb106eba01
fix: image and attachments 2024-12-16 17:27:06 +07:00
Louis
aac2216aef
fix: 4238 - fix default max_tokens set on remote models 2024-12-12 13:20:39 +07:00
Louis
7585bb00ea
chore: refactor types out of atoms 2024-12-05 11:27:58 +07:00
Louis
7f8517afc5
fix: 4165 - Refactor message builder to avoid sending empty messages 2024-12-03 15:16:48 +07:00
Louis
492ff1a7c9
test: correct test case 2024-11-29 16:52:39 +07:00
Louis
79b29f7913
chore: display error message from response 2024-11-29 16:43:44 +07:00
Louis
dc649bf523
fix: 4096 - failed to get huggingface models 2024-11-27 00:14:43 +07:00
Faisal Amir
314cb03693
feat: stop word model setting (#4113)
* feat: stop word model setting

* chore: update test tag input

* chore: handle UI when no stop word

* chore: fix types of value tag input
2024-11-25 21:17:16 +07:00
Faisal Amir
e196aefcd3
feat: new UI code block and Enable copying of code blocks or plain text mid-stream (#4010)
* feat: improvement ui codeblock

* chore: update ui code block

* chore: finalize ui code block and latex

* chore: fix jest testing and cleanup unused deps
2024-11-14 14:46:35 +07:00
Faisal Amir
766a4e8e8a
fix: right panel bg joi-dark and remove n_pararell params (#3970) 2024-11-07 16:47:50 +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
8837b872af
test: fix chore 2024-11-04 15:37:19 +07:00
Louis
1ab02b706f
fix: model import symlink 2024-11-04 15:37:19 +07:00
Louis
3643c8866e
fix: correct model settings on startup and strip down irrelevant model parameters 2024-11-04 15:37:18 +07:00
Louis
90c7420c34
chore: add comments and clean unused imports 2024-11-04 15:37:18 +07:00
Louis (aider)
b5edc12b28
feat: add tests for huggingface utility functions 2024-11-04 15:37:14 +07:00
Louis
03e15fb70f
feat: sync model hub and download progress from cortex.cpp 2024-11-04 15:37:14 +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
Louis
c5e0c93ab4
test: add missing tests (#3716) 2024-09-23 13:54:52 +07:00
Louis
302b73ae73
test: add web helpers, services, utils tests (#3669)
* test: add web helpers tests

* fix: coverage report

* test: add more tests

* test: add more generated tests

* chore: add more tests

* test: add more tests
2024-09-20 14:24:51 +07:00
Louis
98bef7b7cf
test: add model parameter validation rules and persistence tests (#3618)
* test: add model parameter validation rules and persistence tests

* chore: fix CI cov step

* fix: invalid model settings should fallback to origin value

* test: support fallback integer settings
2024-09-17 08:34:58 +07:00