Commit Graph

1143 Commits (main)

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
Meng Zhang 843b33f088
chore: Delete .github/workflows/issue-translator.yml 2023-11-24 10:47:44 +08: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
Magnus F 821ca2dead
fix: Skip creating `usage_anonymous_id` when TABBY_DISABLE_USAGE_COLLECTION is set (#864)
* dont write file if tracking is disabled

* remove comment, id is optional

* Update usage.rs

---------

Co-authored-by: Meng Zhang <meng@tabbyml.com>
2023-11-23 15:46:07 +00:00
Meng Zhang 9746865b8f fix: bad link in blog 2023-11-23 21:32:38 +08:00
Meng Zhang 048d02a609
docs: add coding llm leaderboard blog (#869)
* docs: add coding llm leaderboard blog

* accept suggestions

* update
2023-11-23 21:24:15 +08:00
Meng Zhang 818be1674a fix: use environment so pull requests from other fork can run ci 2023-11-23 20:17:45 +08:00
Meng Zhang 2192cc718f
feat: implement rust cargo.lock dependency extraction (#874)
* feat: implement rust cargo.lock dependency extraction

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-11-23 08:35:19 +00:00
Meng Zhang bb4ffe937b refactor: remove useless crates/tabby/Cargo.lock 2023-11-23 15:33:05 +08: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
Zhiming Ma a067366b5d
fix(vscode): Hotfix 1.1.3. Do not show disconnected notification when initializing (#868)
* fix(vscode): Do not show disconnected notification when initializing.

* chore(vscode): vscode hotfix 1.1.3.
2023-11-23 11:42:53 +08:00
Meng Zhang 3bddd9fa64 fix: axum middlewares only handles routes that are registered 2023-11-23 09:31:39 +08:00
Meng Zhang 063678bfa6 feat: update tabby-ui 2023-11-23 09:31:39 +08:00
sonique6784 b9cb5a025e
feat: add support for Kotlin language (#813)
* feat: add support for Kotlin

* Update programming-languages.md

* Update Cargo.toml

* fix: kotlin missing TAGGING_QUERY

* docs: remove 0.5.0 warning as tabby adapt same format for remote / local storage

* feat: make --model optional, so user can start a chat only instance (#817)

* fix: mark tabby-ui as yarn managed

* fix: rust build caused by 1.74.0 release (#819)

* chore: exclude experimental directory for language stats

* chore: exclude ee/tabby-webserver/ui to language stats

* fix: move db path, fix compile error (#820)

* feat(vscode): Add dont-show-again for warnings.  Add online help links. (#821)

* refactor: delete contrib/jetson/Dockerfile as it's no longer compatible post 0.5

feel free to sending pr of adding it back if you get it work with llama.cpp based docker image

* feat(vim): update tabby-agent. (#824)

* feat(intellij): Add dont-show-again for warnings. Add more online help links. (#823)

* feat: implement basic dependency detection for python / rust (#825)

* refactor: extract tags mod for dataset.rs

* feat: implement basic dependency detection for python / rust

* fix: keep only direct dependency, clean up path (#827)

* feat: add support for Kotlin

* Update Cargo.toml

* fix: adjustment post rebase

* fix: added kotlin.scm to cover query tags

* fix: updated kotlin.scm

* remove definition import

Co-authored-by: Meng Zhang <meng@tabbyml.com>

* remove typealias

Co-authored-by: Meng Zhang <meng@tabbyml.com>

---------

Co-authored-by: Meng Zhang <meng@tabbyml.com>
Co-authored-by: Eric <illuminating.me@gmail.com>
Co-authored-by: Zhiming Ma <codes.icy@gmail.com>
2023-11-23 09:31:23 +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 26e5f17664
refactor: change to vars.RUST_TOOLCHAIN for rust ci (#861)
* Update docker.yml

* Update ci.yml
2023-11-22 10:44:11 +08:00
Meng Zhang 2133f8f187
docs: set the quick start example to be StarCoder-1B 2023-11-22 09:32:45 +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
Meng Zhang 2b785e8b80
fix: set 1.73.0 as default toolchain (#859) 2023-11-22 07:04:37 +08: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 4c99ae9598
chore: Set osx rust tool chain to be 1.73.0 2023-11-20 12:16:33 -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 b35d286d9e
fix: save_model_info failed if dir not exist (#845) 2023-11-20 04:27:30 +00:00
Zhiming Ma 1583e76994
fix(agent): Hotfix 1.1.1. Fix agent completion stats initialization error. (#844)
* fix(agent): fix completion stats initialization error.

* fix(agent): Hotfix 1.1.1. Fix agent completion stats initialization error.

* fix: fix changelog format.
2023-11-19 20:11:03 -08:00
Meng Zhang 8654116126
docs: add date to previous releases 2023-11-19 17:13:38 -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 0908eb1fb4 fix: set tests rust toolchain to 1.73.0 2023-11-19 16:10:37 -08:00
Meng Zhang ab061e92e8
fix: fix release by setting stable toolchain on mac, setting 1.73.0 on linux (#841) 2023-11-19 15:59:00 -08:00
Jonathan Poisson 6dabecc3ee
feat: add Prometheus support to Tabby. (#838)
* Added Prometheus support to Tabby.

1) Added `axum-prometheus` to Cargo.toml

2) Added `metrics.rs` as a simple route to produce a metrics endpoint with prometheus-formatted events

3) Added `/v1/metrics` endpoint with API doc entry

4) Added the `PrometheusLayer` to the root layers.

This change effectively allows for external Prometheus to scrape metrics from Tabby during execution in order to monitor operations (resources, timings and overall usage).

* changed application/text to text/plain to adhere to rfc1341

* Update Makefile

* Update Makefile

* Update Makefile

* Update Makefile

* Update Makefile

* Update Makefile

* - Reworked code to fit upstream changes
- Added Prometheus layer and handle to worker.rs

* Update CHANGELOG.md

* [autofix.ci] apply automated fixes

* Simplified worker metrics route definition

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

---------

Co-authored-by: Meng Zhang <meng@tabbyml.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-11-19 15:40:57 -08:00
Meng Zhang 7dbbfc39c2 docs: update CHANGElog.md for 0.6.0 2023-11-19 15:35:38 -08:00
Meng Zhang 0c2be0361a
fix: RUST_TOOLCHAIN need to be inside of from block (#840) 2023-11-19 14:08:57 -08:00
Meng Zhang b56ad6eda9
fix: cors / otlp should be applied on all serve endpoints (#839) 2023-11-19 21:47:23 +00:00
Zhiming Ma 54b146e9e9
feat(vim): chore bump vim plugin version to 1.1.0 (#837) 2023-11-18 22:09:55 -08:00
Zhiming Ma 30864df973
chore(intellij): bump intellij plugin version to 1.1.0. (#836) 2023-11-18 22:09:40 -08:00
Zhiming Ma 84781ec84a
chore(vscode): bump vscode extension & tabby-agent version to 1.1.0. (#835) 2023-11-18 21:34:57 -08:00
Meng Zhang ad9dbd55e8
fix: manage rust toolchain version with vars (#834) 2023-11-18 16:06:56 -08: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
Meng Zhang 530e142d63
fix: keep only direct dependency, clean up path (#827) 2023-11-18 08:50:16 +00:00
Meng Zhang 1fe0922c72
feat: implement basic dependency detection for python / rust (#825)
* refactor: extract tags mod for dataset.rs

* feat: implement basic dependency detection for python / rust
2023-11-18 08:05:48 +00:00
Zhiming Ma 5e7ca4f569
feat(intellij): Add dont-show-again for warnings. Add more online help links. (#823) 2023-11-18 00:03:24 -08:00
Zhiming Ma 2cc751766f
feat(vim): update tabby-agent. (#824) 2023-11-17 23:59:12 -08:00
Meng Zhang 8c5639b544
refactor: delete contrib/jetson/Dockerfile as it's no longer compatible post 0.5
feel free to sending pr of adding it back if you get it work with llama.cpp based docker image
2023-11-17 22:50:58 -08:00
Zhiming Ma 6ed94a7951
feat(vscode): Add dont-show-again for warnings. Add online help links. (#821) 2023-11-17 20:33:59 -08:00
Eric fcfa13136a
fix: move db path, fix compile error (#820) 2023-11-17 18:08:07 -08:00
Meng Zhang 33e817e1bc
chore: exclude ee/tabby-webserver/ui to language stats 2023-11-17 15:50:27 -08:00