119 Commits

Author SHA1 Message Date
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
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
Louis
3ddb32e2c7
test: fix import from components (#3581) 2024-09-06 15:36:50 +07:00
Louis
846efb3126
test: add core modules test cases (#3498)
* chore: add core module test cases

* chore: fix tests

* chore: add code coverage report

* chore: split coverage step

* chore: split coverage step

* Update jan-electron-linter-and-test.yml

* Update jan-electron-linter-and-test.yml

* Update jan-electron-linter-and-test.yml

* chore: update tests

* chore: add web utils test cases

* chore: add restful and helper tests

* chore: add tests
2024-09-06 11:14:28 +07:00
Louis
c10695be7c
fix: utilized memory 2024-08-29 12:55:07 +07:00
Faisal Amir
31ae14c1f1 chore: fix responsive and add tensorrt_llm nitro to model utils 2024-08-28 17:05:51 +07:00
Faisal Amir
486c09ac9b
fix: date format for chat item (#3436) 2024-08-22 12:49:35 +07:00
Faisal Amir
a57d6d8495 chore: fix openrouter logo 2024-08-16 15:44:38 +07:00
Faisal Amir
0fe98a8373 chore: update utils 2024-08-16 15:23:03 +07:00
Faisal Amir
098492d1c5 chore: update utils model entity 2024-08-16 15:22:36 +07:00