Commit Graph

1962 Commits

Author SHA1 Message Date
Meng Zhang
0eed862948 chore: remove demo deployment with modal 2024-05-03 00:03:09 -07:00
Nuke
24cebc11a7
docs: Note on intalling GPU toolkits for contributors (#2035) 2024-05-02 19:39:58 -07:00
Meng Zhang
ffa044263f
fix(scheduler): handle missing / broken file for dataset building (#2039)
* fix(scheduler): handle missing / broken file for dataset building

* [autofix.ci] apply automated fixes

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

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-05-02 19:21:30 -07:00
Meng Zhang
acec5c891b
fix(core): chat-device should be used for checking against model (#2036)
* fix(core): chat-device should be used for checking against model
downloading.

* update

* fix demo mode

* read from secrets

* update
2024-05-03 00:16:20 +00:00
Meng Zhang
5ed1080ab0
ci: fix command for deploy-demo 2024-05-02 15:31:20 -07:00
Meng Zhang
cdddd282ee
ci: add auto deployment for tabby live demo (#2034) 2024-05-02 15:27:44 -07:00
Nicolay Ilinov
62db7bdbda
feat(langulage): Add support dart (#2003)
* Add support Dart language

* Add to docs info for langulage dart

* Update website/docs/programming-languages.md

---------

Co-authored-by: Nicolay I <nic.ilinov@gmail.com>
Co-authored-by: Meng Zhang <meng@tabbyml.com>
2024-05-02 15:16:33 -07:00
Meng Zhang
13247e20cb chore(ui): turn on public cache for next js bundled files 2024-05-02 14:42:16 -07:00
Winston H
b71f9c5c32
feat: add support for r (#2030)
* feat: add config for `r`

* docs: add R to supported languages

* Update website/docs/programming-languages.md

---------

Co-authored-by: Meng Zhang <meng@tabbyml.com>
2024-05-02 12:28:02 -07:00
Meng Zhang
28cf9eafcb
chore(webserver): use in memory job queue (#2027) 2024-05-02 10:46:10 -07:00
Meng Zhang
2c5c306d48
chore: upgrade axum 0.7, hyper 1.1, juniper 0.16. Remove oltp integration (will re-add in future release) (#2031)
* remove everything

* get connection work with reflect types

* intermediate hyper migration

* update schema

* fix DateTimeUtc in graphql

* fix display

* update ui

* formatting

* strip out oltp

* update

* cleanup

* update reqwest versions

* update golden
2024-05-02 03:43:55 -07:00
Meng Zhang
ef9ba9a913
refactor(schema): cleanup webserver structure (#2029)
* refactor(schema): move jwt logic to webserver

* [autofix.ci] apply automated fixes

* move repositories and oauth to routes/

* restructure hub

* move ui

* rename webserver

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-05-02 06:34:07 +00:00
Meng Zhang
4224ff30e4
refactor(webserver): extract tabby-schema (#2028)
* init

* update env

* update rules

* cleanup dependency

* cleanup

* update

* update
2024-05-01 22:50:26 -07:00
Meng Zhang
4d76e8ff43
refactor(scheduler): refactor incremental store into Cache (#2026)
* refactor(scheduler): refactor incremental store into Cache

* some renaming
2024-05-02 01:47:50 +00:00
Meng Zhang
87ea0c3a25
feat(webserver): run scheduler with git urls are modified (#2025)
* feat(webserver): run scheduler with git urls are modified

* update

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-05-01 18:04:08 -07:00
Meng Zhang
c7d1374e3c
refactor(webserver): rename disk usage fields (#2024) 2024-05-02 00:39:52 +00:00
Meng Zhang
492c191019
fix(scheduler): key format for dataset bucket should be relative file… (#2023)
* fix(scheduler): key format for dataset bucket should be relative file path

* update

* update
2024-05-02 00:08:28 +00:00
Meng Zhang
03c0a6d9ba
refactor(webserver): extract BackgroundJob service (#2022)
* refactor(webserver): extract BackgroundJob service

* update
2024-05-01 16:57:00 -07:00
Meng Zhang
5536adcf93 chore(ui): update ui binary 2024-05-01 15:40:51 -07:00
boxbeam
8d8c45c393
docs: create blog post for vulkan support (#2021)
* docs: create blog post for vulkan support

* Update website/blog/2024-05-01-vulkan-support/index.md

---------

Co-authored-by: Meng Zhang <meng@tabbyml.com>
2024-05-01 12:08:16 -07:00
boxbeam
7bac39e945
feat(scheduler): implement incremental dataset sync (#2008)
* draft

* [autofix.ci] apply automated fixes

* Add way to dump source files from cache

* Panic on some errors

* Add method to cleanup cache

* [autofix.ci] apply automated fixes

* Use canonical url

* Apply suggestions

* Apply suggestions

* [autofix.ci] apply automated fixes

* Use RepositoryStore in dataset

* Working

* [autofix.ci] apply automated fixes

* Incremental working

* Apply suggestion

* Cleanup

* Apply suggestions

* Move metrics

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-04-30 21:25:31 +00:00
Meng Zhang
f1a8e72ae7
refactor(webserver): limit concurrency of background job to 1 (#2019) 2024-04-30 13:25:42 -07:00
Meng Zhang
1774b54085
refactor(webserver): rename import github / gitlab job name (#2020) 2024-04-30 18:26:44 +00:00
boxbeam
767cd16693
fix(webserver): update messages and disable registration for demo mode (#2018)
* fix(webserver): update messages and disable registration for demo mode

* Disable registration invite
2024-04-30 17:43:40 +00:00
Meng Zhang
b2a380978c
feat(webserver): trigger backend job when github / gitlab provider got updated (#2009)
* support-trigger-job-once

* cleanup job context

* cleanup

* update

* update

* update
2024-04-30 09:15:35 -07:00
aliang
57c314c0ab
refactor(ui): use repository name in the code browser's URL (#2017)
* refactor(ui): use repository name in the code browser's URL

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-04-30 02:18:50 -07:00
Wang Zixiao
86b0d92eb3
fix(ui): detail polishing for the provider page (#2016)
* fix(ui): detail polishment for the provider page

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-04-30 02:18:00 -07:00
Wang Zixiao
910d404884
fix(ui): add skeleton to system page (#2014)
* fix(ui): add skeleton to system page

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-04-30 07:09:01 +00:00
Wang Zixiao
570300742c
feat(ui): support demo mode (#2013)
* feat(ui): support demo mode

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-04-29 23:07:57 -07:00
Meng Zhang
2cf0082c25
feat(webserver): add is_demo_mode to ServerInfo (#2011)
* feat(webserver): add is_demo_mode to ServerInfo

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-04-29 21:47:30 -07:00
Meng Zhang
37102b7022
refactor(ui): always use pretty bytes (#2012)
* refactor(ui): always use pretty bytes

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-04-29 21:45:38 -07:00
Wang Zixiao
58087eb4b6
fix(ui): update storage usage ui (#2002)
* fix(ui): update storage usage ui

* clean

* [autofix.ci] apply automated fixes

* mobile resize

* [autofix.ci] apply automated fixes

* update

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Meng Zhang <meng@tabbyml.com>
2024-04-30 03:03:37 +00:00
boxbeam
66f7c12713
refactor(webserver): make macro for writing to stderr and warn! at the same time (#2007) 2024-04-29 18:11:51 +00:00
boxbeam
b1184a4e9e
feat(webserver): support filtering github/gitlab repos by active status (#2006)
* feat(webserver): support filtering github/gitlab repos by active status

* Fix inconsistency

* [autofix.ci] apply automated fixes

* Filter in repository_list

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-04-29 10:28:15 -07:00
boxbeam
c16d393dc4
fix(webserver): fix format for repository names synced from gitlab (#2004)
* fix(webserver): remove spaces in full repository names for gitlab

* Use path_with_namespace
2024-04-29 16:51:42 +00:00
boxbeam
c3da5f4646
fix(webserver): detect gitlab client errors more accurately (#2005) 2024-04-29 09:17:50 -07:00
Meng Zhang
4799a746e7
chore(ui): switch to /v1/chat/completions (#1990) 2024-04-29 01:28:54 -07:00
Lucy Gao
21be9926d6
chore(ui): accept rate -> acceptance (#2001)
nit wording fix
2024-04-29 06:32:56 +00:00
Wang Zixiao
f956ed5751
fix(ui): analytics date display format (#1999) 2024-04-28 18:17:06 -07:00
Meng Zhang
b76a10144e
refactor(core): restructure CodeGeneration, CompletionStream, ChatCompletionStream (#1998)
* refactor(core): remove generate method from TextGeneration

* refactor out TextGeneration struct

* eliminate chat sub module

* refactor: extract CompletionStream

* restruct ChatCompletionStream <-> CompletionStream

* restruct with CodeGeneration

* handle output limitation inside of Stream traits
2024-04-29 00:24:46 +00:00
Meng Zhang
602cf5ecd5
refactor(webserver): extract JobController (#1993)
* refactor(webserver): extract JobController

* update

* using randomized cronls

* randomize

* update

* simplify register/register_public implementation

* support running with TABBY_WEBSERVER_CONTROLLER_ONESHOT

* update
2024-04-28 21:36:08 +00:00
Meng Zhang
8038e82673
fix(webserver): conditional query should be applied in source, before limit count (#1994) 2024-04-28 14:30:52 -07:00
Meng Zhang
e1ee94ffea
refactor(scheduler): restructure scheduler error handling. (#1997)
* fix(repository): when clone failed, remove the cloned directory

* refactor(scheduler): remove unnecessary anyhow::Result propogation

* revert

* skip dir

* simplify
2024-04-28 20:24:25 +00:00
Lucy Gao
3a6910885d
docs: fix loom link (#1996) 2024-04-28 10:49:15 -07:00
Lucy Gao
21196c12a6
docs: update video tutorial. (#1995) 2024-04-28 09:57:06 -07:00
Meng Zhang
c9129579b9
fix: wrong grammar for explain code block action (#1992) 2024-04-27 23:45:40 -07:00
Lucy Gao
fe3b270e18
docs: add v0.10.0 release in what's new (#1987) 2024-04-27 09:47:38 -07:00
aliang
8d75c27ed0
feat(ui): integrate gitlab repositories (#1988) 2024-04-27 09:43:24 -07:00
Meng Zhang
4184b1b60d
ci: add paths for bloat PR (#1986)
* ci: add paths for bloat PR

* update
2024-04-27 01:50:18 -07:00
Meng Zhang
97d6653f2e
ci: add cargo bloat (#1985)
* ci: add cargo bloat

* update

* update

* update

* update

* update

* update

* update

* enable sccache

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update
2024-04-27 01:21:55 -07:00