Commit Graph

989 Commits (fb2b8dab2beee8984a94c4c84c15f71d2fff71c0)

Author SHA1 Message Date
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
Meng Zhang e521f0637c
feat: add worker command worker::completion and worker::chat (#778) 2023-11-13 23:21:57 +00:00
Lucy Gao 510eddca89
docs: change blogpost date, fix typos, and add twitter image. (#777) 2023-11-13 12:05:20 -08:00
Maciej ebbe6e5af8
fix: helpful message when llama.cpp submodule is not present (#719) (#775) 2023-11-13 07:51:46 +00:00
Meng Zhang e0017cadec
refactor: extract routes/ to share routes between commands (#774)
* refactor: extract routes/ to share routes between commands

* refactor: extract events api

* extract EventLogger service

* lift api into sub packages

* services completions -> completion

* remove useless code

* fix test
2023-11-13 06:24:20 +00:00
Zhiming Ma 63c7da4f96
feat(agent): postprocess add calculate replace range by syntax. (#765) 2023-11-12 20:53:20 -08:00
Meng Zhang bad87a99a2 refactor: serve/engine.rs => services/model.rs 2023-11-12 20:41:15 -08:00
Meng Zhang 4359b0cc4b
refactor: extract CompletionState -> CompletionService (#773)
* refactor: extract CompletionState -> CompletionService

* fix comment

* Update README.md

cmake is preinstalled in ubuntu / debian

* fix compile error

* format files

* format files

---------

Co-authored-by: darknight <illuminating.me@gmail.com>
2023-11-12 16:14:58 -08:00
Meng Zhang 6f1a3039b0 chore: fix ci.yml rust toolchain 2023-11-12 15:25:27 -08:00
Meng Zhang 52793304c0 chore: remove format / clippy / machette check as they're in autofix.yml 2023-11-12 14:59:39 -08:00
Meng Zhang febfa18e4a
refactor: move code api to tabby/serve (#771) 2023-11-12 22:58:15 +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 4d6dc626c0 chore: switch cargo clippy to nightly 2023-11-12 13:49:42 -08:00
Meng Zhang 17db8a2950 refactor: use unwrap_or_default as suggested by clippy nightly 2023-11-12 13:48:55 -08:00
Meng Zhang 15f768a971 feat: add tabby-webserver as distribution layer of tabby #769 2023-11-12 13:07:07 -08:00
Meng Zhang 56ec7c05f6 chore(ci): update cis for tabby-webserver 2023-11-12 13:03:39 -08:00
Meng Zhang 3a70cda5e9
chore: checkout submodules in autofix.yml 2023-11-12 13:01:11 -08:00
Meng Zhang c5603d802b
chore: update autofix-ci 2023-11-12 12:56:37 -08:00
Meng Zhang 99d43a2b8c
chore: add autofix workflow 2023-11-12 12:29:34 -08:00
Zhiming Ma 568b7b41a5
feat(agent): add experimental postprocess limit scope by syntax. (#758)
* feat(agent): add tree-sitter parser.

* feat(agent): make parser updating tree cache optional.

* feat(agent): add experimental limit scopy by syntax.

* test(agent): update unit test for limitScopeBySyntax.
2023-11-12 10:11:31 -08:00
Meng Zhang d7180ec7b9 fix: remove useless hyper-reverse-proxy 2023-11-11 14:42:57 -08:00
Meng Zhang 8e58ff4003 refactor: move chat.rs to services/ rename search.rs -> code.rs 2023-11-11 14:42:57 -08:00
Meng Zhang 4069fe735f refactor: remove useless route check for playground 2023-11-11 14:42:57 -08:00
Meng Zhang 7695a667bb refactor: move tabby/src/search.rs -> tabby/src/services/search.rs 2023-11-11 14:42:57 -08:00
Meng Zhang fce94f622b refactor: use Arc<dyn TextGeneration> and Arc<dyn CodeSearch> 2023-11-11 14:42:57 -08:00
Eric 22592374c1
refactor: add experimental-http feature (#750)
* add experimental-http feature, update code

* refactor: add experimental-http feature
2023-11-11 17:50:16 +00:00
Zhiming Ma f2ea57bdd6
refactor(agent): extract calculateReplaceRange and add unit test. (#764)
* refactor(agent): extract calculateReplaceRange.

* test(agent): add unit test for calculateReplaceRangeByBracketStack.
2023-11-11 08:42:00 -08:00
Bryan 8a4ceba411
feat(intellij): add loading status in intellij plugin when fetching completions for automatic trigger mode.
* Add additional information in modal installation docs

* docs: update tabby version to 0.5.5

update Modal installation script

* feat: add loading status for intelliJ plugin

Add loading status when sending completion request to copilot server

* feat: optimize loading logic
2023-11-11 23:01:33 +08:00
Zhiming Ma e3518b46a5
test(agent): add test bad case for limit scopy by indentation. (#757)
* test(agent): add test bad case for limitScopeByIndentation.

* test(agent): fix golden test config.

* fix: lint.

* test(agent): update test cases.
2023-11-10 22:45:38 -08:00
Bryan 71815bef8f
docs: fix and add additional information in the Modal installation page (#748)
* Add additional information in modal installation docs

* docs: update tabby version to 0.5.5

update Modal installation script
2023-11-10 17:45:26 -08:00
Meng Zhang 41f60d3204
refactor(code): extract `search_in_language` (#762)
* chore: init tabby-webserver

* add code search worker registry

* add webserver command

* add graphql

* extract schema

* refactor: extract registry.rs

* refactor

* update

* update

* update

* update

* update

* fix lint
2023-11-10 17:29:50 -08:00
Lucy Gao bf2c1e6a79
docs: blogpost for code model evals (#705)
* docs: blogpost for code model evals

* docs: add research paper reviews

* docs: revert irrelevant files
2023-11-10 17:00:18 -08:00
Meng Zhang 9380da130e fix: fix tests 2023-11-10 14:57:15 -08:00
Meng Zhang 4068d6e81d
refactor: extract BoxCodeSearch as interface to CodeSearch (#756) 2023-11-10 22:55:51 +00:00
Meng Zhang aa61f0549f docs: update openapi.json 2023-11-10 12:09:07 -08:00