14 Commits

Author SHA1 Message Date
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
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
Louis
b28cac7083
fix: render performance while generating messages (#4328) 2024-12-23 21:04:37 +07:00
Louis
4e43f9798d
fix: fetch threads and messages without limiting (#4304)
* fix: threads and messages are cutoff

* fix: threads sorting

* chore: bump cortex latest release and app version
2024-12-20 17:55:23 +07:00
Louis
11f4f20120
fix: thread error handling 2024-12-20 16:34:54 +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
f18207f21c
fix: linter 2024-12-16 17:41:54 +07:00
Louis
f6ba447f1b
test: update test cases 2024-12-12 16:38:56 +07:00
Louis
174f1c7dcb
feat: reroute threads and messages requests to the backend 2024-12-12 16:38:55 +07:00
Louis
308a26b9d8
fix: 4208 - Empty title with special characters 2024-12-04 11:39:17 +07:00
Louis
7b1a1be74f
chore: token speed should not start by 1 - hide on non stream 2024-11-29 10:08:04 +07:00
Louis
0485134343
fix: token speed should not be calculated based on state updates 2024-11-29 09:34:38 +07:00
Louis
eab19b30cf
fix: wrong component wrapping cause excessive app rerender 2024-11-27 18:11:57 +07:00