Commit Graph

976 Commits (6236566a21a4b24533a37d791815bf528a33c5cd)

Author SHA1 Message Date
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
Meng Zhang 73a76a3d8e
feat(scheduler): add a tqdm bar for scheduler job to better present the remaining time. (#754)
* feat(scheduler): add a tqdm bar for scheduler job to better present the
remaining time.

* update

* add changelog
2023-11-10 19:52:07 +00:00
Meng Zhang 3600ef77fc fix: clippy warnings in CodeSearchSchema 2023-11-10 11:48:52 -08:00
Meng Zhang 27ed9c2cc4
fix: tantivy requires more memory for indexing in new version. (#753) 2023-11-10 11:41:50 -08:00
Meng Zhang b510f61aca
refactor: extract tabby_common::api::code / tabby_common::index::CodeSearchSchema (#743)
* refactor: extract tabby_common::api::code

mark CodeSearch being Send + Sync

* extract CodeSearchSchema
2023-11-10 10:11:13 -08:00
Zhiming Ma ff03e2a34e
feat(agent): add back agent timeout config. (#739)
* feat(agent): add back agent timeout config, add option to disable warning for slow response time.

* feat(agent): Update completion timeout to single number. Add config type validation.
2023-11-09 22:39:22 -08:00
Erfan Safari 138b7459c5
feat: add LLAMA_CPP_N_THREADS env (#742)
* feat: add LLAMA_CPP_N_THREADS and LLAMA_CPP_N_THREADS_BATCH envs

* apply format

* improve: use LLAMA_CPP_N_THREADS for both n_threads and n_threads_batch

* Update crates/llama-cpp-bindings/src/engine.cc

---------

Co-authored-by: Meng Zhang <meng@tabbyml.com>
2023-11-09 19:54:23 +00:00
Meng Zhang 4bbcdfa38e
docs Update README.md with v0.5.5 2023-11-09 00:51:50 -08:00
Meng Zhang e6fb1b6ac0
docs: add v0.5.5 CHANGELOG.md 2023-11-09 00:36:35 -08:00
Meng Zhang 8c669dee8e
fix: llama.cpp queuing logic (#741) 2023-11-09 08:29:54 +00:00
Zhiming Ma cc5e257b74
docs: update docs about Tabby Cloud. (#740) 2023-11-08 22:47:49 -08:00
Meng Zhang 03ff80efdb feat: update tabby-ui 2023-11-08 16:07:39 -08:00
Meng Zhang cde3602877 feat: sync llama.cpp to latest 2023-11-08 16:06:09 -08:00
Meng Zhang b51520062a
refactor: extract ChatState -> ChatService (#730) 2023-11-08 22:12:29 +00:00