Commit Graph

18 Commits (30d2ba5f008acfdcce5c8985ea4ee4902cfd23cc)

Author SHA1 Message Date
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
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 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 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
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