Meng Zhang
88e5187b57
feat(webserver): implement is_admin_initialized graphql api ( #929 )
...
* feat(webserver): implement is_admin_initialized graphql api
* refactor
* add unit test
* [autofix.ci] apply automated fixes
* renaming
* refactor: server -> locator
* fix unused
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-01 22:35:02 +08:00
Meng Zhang
5c52a71f77
refactor: extract ServiceLocator interface ( #933 )
...
* refactor: cleanup the dependency chain - ServerContext should be the only thing being public in server mod
* refactor ServiceLocator
* refactor: extract worker.rs
* refactor: move db as private repo of server
* rename server -> service
2023-12-01 22:16:59 +08:00
Meng Zhang
1a9cbdcc3c
feat(ee): implement auth claims ( #932 )
...
* feat(ee): implement auth claims
* fix test
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-01 12:46:01 +00:00
Meng Zhang
8d3be2ea36
fix: do not persist active chat id ( #927 )
2023-12-01 07:36:37 +00:00
Meng Zhang
a4b1d75c1a
fix: tabby-ui should use AND condition to search function ( #926 )
2023-12-01 15:35:38 +08:00
Eric
79e704458d
feat(ee): implement user authentication api ( #912 )
...
* feat: impl user authentication
* resolve comments
* fix validation code name
* resolve comment
2023-12-01 10:22:53 +08:00
Meng Zhang
0857a10f31
fix: make runner card width equal in large screen ( #883 )
...
* fix: make runner card width equal in large screen
* chore: update build
2023-11-24 02:52:56 +00:00
Eric
e78cc1f844
feat: add api to serve files under repositories ( #851 )
...
* feat: add api to serve files under repositories
* resolve comments
* resolve comments
* Update repositories.rs
* Update lib.rs
* resolve comment
---------
Co-authored-by: Meng Zhang <meng@tabbyml.com>
2023-11-24 01:58:56 +00:00
Meng Zhang
3bd3a3304d
feat: implement worker unregistration ( #872 )
...
* feat: implement worker unregisteration logic
* refactor: rename HubError -> RegisterWorkerError
2023-11-23 06:22:04 +00:00
Meng Zhang
063678bfa6
feat: update tabby-ui
2023-11-23 09:31:39 +08:00
aliang
24b14888ce
feat: Display registration token in webserver dashboard ( #863 )
...
* feat: display registration token
* Update page.tsx
---------
Co-authored-by: Meng Zhang <meng@tabbyml.com>
2023-11-23 08:58:21 +08:00
aliang
f1e82d62e8
feat: Display remote workers in webserver dashboard ( #848 )
...
* feat: display remote workers
* refactor: useMergedWorkers
* fix: remove useless parameter
* fix: use-workers
* fix: warning silented
2023-11-22 18:53:36 +08:00
Meng Zhang
bb534fae27
fix(webserver): make GET /graphql route an api route (so it's valid through cors) ( #858 )
2023-11-21 23:08:27 +00:00
Dheeraj R Reddy
99d49a9c43
fix: Remove redundunt clone() ( #849 )
...
Found after running: `make fix`
Co-authored-by: dheeraj.reddy <dheeraj.reddy@thoughtspot.com>
2023-11-20 13:26:57 -08:00
Meng Zhang
d2281c7a1b
refactor: move chat-sidebar related components to router's components dir
2023-11-20 09:03:32 -08:00
Meng Zhang
352db4ecf2
change title to Set Chat Title
2023-11-20 09:03:32 -08:00
Meng Zhang
355e2b47aa
fix: make chat sidebar color consistent with main page sidebar
2023-11-20 09:03:32 -08:00
Meng Zhang
d8e83d0610
refactor: extract run_app function ( #843 )
...
* refactor: extract run_app function
* lint
* change route to /metrics
* refactor
2023-11-20 01:00:35 +00:00
Meng Zhang
a12f741565
feat: use remote code search in workers ( #833 )
...
* refactor: lift tabby::api::code to tabby_common::api::code
* feat: use remote code search in workers
* update
* handle errors
2023-11-18 23:45:00 +00:00
Meng Zhang
b862d9d100
feat: support worker events logging ( #831 )
...
* refactor: lift tabby::api::event to tabby_common::api::event
* feat: allow worker write logs to webserver::api::Hub service
* refactor: implement RawEventLogger on HubClient directly
* fix: build context in request's scope
2023-11-18 23:17:54 +00:00
Eric
8dd245ef30
feat: update graphql query to read token ( #829 )
2023-11-18 10:03:33 -08:00
Eric
fcfa13136a
fix: move db path, fix compile error ( #820 )
2023-11-17 18:08:07 -08:00
Meng Zhang
2bcbf8145c
fix: mark tabby-ui as yarn managed
2023-11-17 15:08:29 -08:00
Meng Zhang
25621547a7
feat: make --model optional, so user can start a chat only instance ( #817 )
2023-11-17 22:35:58 +00:00
Eric
ce338c7436
feat: validate token during worker registration ( #803 )
...
* feat: validate token during worker registration
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
* resolve comments
* reslove comments
* format file, update schema file
* resolve comment
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-11-16 23:05:39 -08:00
Meng Zhang
6236566a21
feat: update tabby ui ( #783 )
2023-11-14 21:05:36 +00:00
aliang
184ccc81e9
feat: adding conversation history / new chat in chat playground ( #780 )
...
* feat: adding conversation history / new chat
* fix: format
* fix: use user's first question as title
2023-11-14 12:50:58 -08:00
Meng Zhang
618009373b
refactor: use tarpc for easier worker <-> hub communication ( #781 )
...
* temp
* generic
* adapt client
* rename to api
* Revert "rename to api"
This reverts commit 8a51b24fecd76a78e6df576ec51605b8d8418975.
* refactor: remove uselss mutation
* remove useless connection
* cleanup api structure
* restructure
* add webserver api error
* webserver.rs -> server.rs
* rename service to Hub
* update schema
* update naming
* shrink features
* update
* mv worker.rs -> server/worker.rs
2023-11-14 12:48:20 -08:00
Meng Zhang
e521f0637c
feat: add worker command worker::completion and worker::chat ( #778 )
2023-11-13 23:21:57 +00:00
Meng Zhang
3a9b4d9ef5
feat: add graphql interface to tabby-webserver ( #770 )
...
feat: add graphql interface to tabby-webserver
2023-11-12 14:52:28 -08:00
Meng Zhang
15f768a971
feat: add tabby-webserver as distribution layer of tabby #769
2023-11-12 13:07:07 -08:00
aliang
e7f874b8da
feat: adding an auto completion component in chat playground ( #702 )
...
* feat: Adding an auto-completion component
* Update ee/tabby-ui/components/prompt-form.tsx
Co-authored-by: Meng Zhang <meng@tabbyml.com>
* fix: prepare for submitting prompt
* fix: Generate code block templates
* fix: select completion and replace with doc name
---------
Co-authored-by: Meng Zhang <meng@tabbyml.com>
2023-11-07 13:29:07 -08:00
Meng Zhang
177689341f
chore(ui): rename runners to workers ( #681 )
2023-10-30 22:11:01 -07:00
Meng Zhang
73758e207d
feat: improve dashboard UI ( #677 )
2023-10-30 21:47:38 +00:00
Meng Zhang
b4772fbcd0
feat(ui): add dashboard ( #674 )
...
* feat(ui): add dashboard
* handle path
2023-10-30 07:29:50 +00:00
Meng Zhang
de827b1e74
Revert "feat: make --model optional ( #668 )" ( #672 )
...
This reverts commit c55e4481ba .
2023-10-29 21:44:11 -07:00
Meng Zhang
c55e4481ba
feat: make --model optional ( #668 )
2023-10-30 00:04:42 +00:00
Meng Zhang
2ee5dbfd4f
chore: move tabby-ui under ee license. ( #667 )
...
* chore: introduce tabby-ui EE license.
* update
2023-10-29 15:56:57 -07:00