Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Jan Server, API and decoupled clients #948

Merged
merged 16 commits into from
Dec 28, 2023
Merged

Conversation

louis-jan
Copy link
Contributor

@louis-jan louis-jan commented Dec 12, 2023

Key updates

  • Shared node module from core that shared logics between node instances
  • Remove manual typed FS handlers and logics, IPC & REST APIs for this should be proxied automatically.
  • Extensions APIs, allow client to install / use remote extensions hosted by node instance
  • Static files serve so client can access ~/jan remotely e.g. import extensions / JS files remotely
  • Request from extensions routed to 1337, no longer IPC
  • Nitro & monitoring work
  • Localhost 1337 APIs
  • Proxy /chat/completion
  • ( Deprecated ) feat: [Jan Server] fs watch, process, download state sync #1117

Refactor - Enhancement

@github-actions github-actions bot added the type: chore Maintenance, integration, packaging related label Dec 12, 2023
@louis-jan louis-jan force-pushed the refactor/api-handlers branch 9 times, most recently from 218370e to cc41af5 Compare December 12, 2023 13:45
@louis-jan louis-jan force-pushed the refactor/api-handlers branch 2 times, most recently from e8742db to 093ad1e Compare December 12, 2023 14:34
@louis-jan louis-jan assigned namchuai and unassigned louis-jan Dec 13, 2023
@louis-jan louis-jan removed the request for review from namchuai December 13, 2023 07:21
@louis-jan louis-jan marked this pull request as draft December 13, 2023 07:22
@louis-jan louis-jan changed the title chore: Jan Server, API and decoupled clients (WIP & very drafted) chore: Jan Server, API and decoupled clients (WIP) Dec 13, 2023
@louis-jan
Copy link
Contributor Author

louis-jan commented Dec 14, 2023

@vuonghoainam testing env key, will refactor later

export EXTENSION_ROOT=/Users/$(whoami)/jan/extensions

yarn dev

curl --request GET \
--url http://localhost:1337/v1/threads \
--header 'User-Agent: insomnia/8.4.5'

Please help on /chat/completions

@louis-jan louis-jan changed the title chore: Jan Server, API and decoupled clients (WIP) feat: Jan Server, API and decoupled clients (WIP) Dec 27, 2023
@louis-jan louis-jan mentioned this pull request Dec 27, 2023
@0xSage 0xSage removed this from the Jan Enterprise milestone Dec 27, 2023
@louis-jan louis-jan marked this pull request as ready for review December 27, 2023 04:17
@louis-jan louis-jan changed the title feat: Jan Server, API and decoupled clients (WIP) feat: Jan Server, API and decoupled clients Dec 27, 2023
@louis-jan louis-jan force-pushed the refactor/api-handlers branch 2 times, most recently from 8c40bb7 to a0df2d0 Compare December 28, 2023 08:28
@louis-jan louis-jan merged commit 5250061 into main Dec 28, 2023
5 checks passed
@louis-jan louis-jan deleted the refactor/api-handlers branch December 28, 2023 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: chore Maintenance, integration, packaging related
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

4 participants