Commit Graph

1023 Commits (99d49a9c43f6c0b68beed619cad0f8e24bb72d5d)

Author SHA1 Message Date
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
Meng Zhang 9bb6e2d472
chore: exclude experimental directory for language stats 2023-11-17 15:45:47 -08:00
Meng Zhang 474833131e
fix: rust build caused by 1.74.0 release (#819) 2023-11-17 15:21:47 -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
Meng Zhang fb2b8dab2b
docs: remove 0.5.0 warning as tabby adapt same format for remote / local storage 2023-11-17 11:43:16 -08: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
Zhiming Ma 97f4989905
fix(intellij): set manual trigger default keymap to Ctrl+BackSlash to avoid conflict when new UI enabled. (#811) 2023-11-16 23:03:16 -08:00
Zhiming Ma 549dc97e58
feat(vscode): show loading status when fetching completion for auto trigger mode. (#810) 2023-11-16 22:14:07 -08:00
Zhiming Ma 76679bc249
feat(intellij): add check connection button in settings page. (#809)
* feat(intellij): add check connection in settings page.

* fix(intellij): update notification message.

* fix(intellij): fix language mapping for file extension.
2023-11-16 21:34:41 -08:00
Zhiming Ma d47dac9041
fix(vim): fix vim tab keybinding fallback. (#763) 2023-11-16 21:24:57 -08:00
Zhiming Ma adb4bcd13f
feat(vscode): add notification when failed to connect to server. (#808) 2023-11-16 20:30:04 -08:00
Meng Zhang d0c9b56467
fix: chat model loading is wrongly distributed to --model (#801) 2023-11-16 03:35:12 +00:00
Meng Zhang d41942975d
feat: match local model directory to MODEL_SPEC.md (#800) 2023-11-16 03:33:38 +00:00
Meng Zhang b8325bd8ab docs: polish faq part for custom model 2023-11-15 15:00:42 -08:00
Meng Zhang c0a4309061
docs: add custom registry information to faq (#799) 2023-11-15 14:34:25 -08:00
Meng Zhang abe0411f03
feat: add ee feature flag to distinguish the OSS and EE offering (#789)
* feat: add ee feature flag to distinguish the OSS offering and EE augmented offering

* [autofix.ci] apply automated fixes

* fix lint

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-11-14 16:15:15 -08:00
Meng Zhang bd072d8fb9
feat(ui): always display chat api endpoints in swagger doc (#784) 2023-11-14 21:10:41 +00: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