19 Commits

Author SHA1 Message Date
GenkaOk
089e311bfd
Add API prefix settings (#2528)
Co-authored-by: Van Pham <64197333+Van-QA@users.noreply.github.com>
2024-04-04 19:45:45 +07:00
Louis
d579d8a45c
fix: app does not gracefully stop a model (#2593) 2024-04-03 22:22:43 +07:00
NamH
5c7b791c26
fix: check if port is occupied before start local server (#2098)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-02-19 22:39:14 +07:00
Louis
6590ee7a6a
fix: local server start error should not change to started state (#2052) 2024-02-16 14:58:34 +07:00
Louis
3412a23654
chore: prettier fix (#2019) 2024-02-15 08:38:05 +07:00
Louis
5890ade451
chore: server download progress + S3 (#1925)
* fix: reduce the number of api call

Signed-off-by: James <james@jan.ai>

* fix: download progress

Signed-off-by: James <james@jan.ai>

* chore: save blob

* fix: server boot up

* fix: download state not updating

Signed-off-by: James <james@jan.ai>

* fix: copy assets

* Add Dockerfile CPU for Jan Server and Jan Web

* Add Dockerfile GPU for Jan Server and Jan Web

* feat: S3 adapter

* Update check find count from ./pre-install and correct copy:asserts command

* server add bundleDependencies @janhq/core

* server add bundleDependencies @janhq/core

* fix: update success/failed download state (#1945)

* fix: update success/failed download state

Signed-off-by: James <james@jan.ai>

* fix: download model progress and state handling for both Desktop and Web

---------

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
Co-authored-by: Louis <louis@jan.ai>

* chore: refactor

* fix: load models empty first time open

* Add Docker compose

* fix: assistants onUpdate

---------

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
Co-authored-by: Hien To <tominhhien97@gmail.com>
Co-authored-by: NamH <NamNh0122@gmail.com>
2024-02-07 17:54:35 +07:00
NamH
d852219c4c
fix(API): #1720 host/port provided in the local API server does not fully applied (#1721)
Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-01-23 12:30:43 +07:00
Louis
aeab22f5ab
fix: Jan server - v1/chat/completions is throwing ERR_REQUIRE_ESM (#1703) 2024-01-22 17:54:47 +07:00
NamH
4cf47777e6
feat: allow user to move jan folder (#1649)
* feat: allow user to move jan folder

Signed-off-by: James <james@jan.ai>

---------

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
Co-authored-by: Louis <louis@jan.ai>
2024-01-22 14:37:46 +07:00
Louis
2d9120f34a chore: refactor server configs 2024-01-17 13:14:30 +07:00
Louis
60a8450d34 chore: remove unused apis 2024-01-17 13:14:30 +07:00
Louis
0478aa0912 fix: wrong args usage 2024-01-17 13:14:30 +07:00
Louis
5975237a39 chore: add server settings 2024-01-17 13:14:30 +07:00
Louis
74ed081e4f
refactor: add app and nitro log - resolve dependencies issue (#1447)
* refactor: add app and nitro log - resolve dependencies issue

* fix: update guidance message on inference error

* chore: add timestamp to log files

* chore: add clear logs action
2024-01-10 16:43:28 +07:00
Louis
b5c72f65cf
fix: disable process logging from server (#1296) 2024-01-02 23:26:36 +07:00
Louis
0ef13313ce
fix: user should be able to access Swagger docs from localhost:1337 (#1292) 2024-01-02 17:27:16 +07:00
Louis
12b037e2cb
fix: swagger CSP issue (#1284) 2024-01-02 12:48:00 +07:00
Louis
b70c21490e
feat: add swagger /docs to localhost:1337 (#1268)
## Description
As a user, I would like to see all supported APIs and test them out. Local swagger hosted at /docs would be helpful.
2023-12-31 20:09:45 +07:00
Louis
5250061c11
feat: Jan Server, API and decoupled clients (#948)
* chore: expose fs apis

* chore: correct electron import path

* update download api

Signed-off-by: James <james@jan.ai>

* update chat_completion

Signed-off-by: James <james@jan.ai>

* fix electron import

Signed-off-by: James <james@jan.ai>

* feat: adding API support at 1337 (#991)

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>

* feat: Add /chat/completion api and handler

* chore: add todo for modelList

* chore: read engine.json for openai chat_completion (#1030)

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>

* refactor: move routes to shared node module

* refactor: exported modules from core with types (#1172)

* refactor: exported modules from core with types

* fix: fix file reading args

* refactor: fileManager handles

* fix: app issues with server refactoring

* refactor: shared server module (#1210)

* chore: resolve main

* chore: update makefile

---------

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
Co-authored-by: NamH <NamNh0122@gmail.com>
Co-authored-by: hiro <vuonghoainam.work@gmail.com>
2023-12-28 17:57:39 +07:00