24 Commits

Author SHA1 Message Date
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
Louis
b4f104f411
fix: Jan server is showing blank page (#1702) 2024-01-22 16:05:36 +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
NamH
26eb1d9a67
feat(Model): #1028 made model.json optional (#1314)
* feat(Model): #1028 made model.json optional

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

---------

Signed-off-by: James <james@jan.ai>
Co-authored-by: James <james@jan.ai>
2024-01-04 16:50:32 +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
Linh Tran
d0e657161e fix console print 2023-12-04 22:04:41 +07:00
Linh Tran
12e765109e resolve comments 2023-12-04 21:37:02 +07:00
Linh Tran
f6f5db01f8 Resolve comments + update licence 2023-12-04 20:46:42 +07:00
Linh Tran
f5c19bccc5 Switch to fastify + add model CRUD impl 2023-12-01 23:02:35 +07:00
Linh Tran
e5f57b853b boilerplate for express server 2023-12-01 09:35:51 +07:00
Linh Tran
64a58d1e15 WIP: fs adapter calling server API 2023-11-29 09:29:04 +07:00
Linh Tran
ed5413a1ee Base server code (mirrored from electron + removed unnecessary handlers 2023-11-28 00:18:36 +07:00
hiento09
500f7b4867
Chore/refactor yarn script (#615)
* Refactor yarn script

---------

Co-authored-by: Hien To <hien@jan.ai>
2023-11-14 11:53:09 +07:00
John
6be67895dd 255: Cloud native 2023-10-30 23:20:10 +07:00