Commit Graph

968 Commits (bad87a99a273c0e50396d85c4e0299b68fb58604)

Author SHA1 Message Date
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
Meng Zhang 72d1d9f0bb
refactor: extract IndexServer into CodeSearchService (#728)
* refactor: extract IndexServer into CodeSearchService

* refactor: make CodeSearchService interface to be async
2023-11-08 21:42:03 +00:00
Meng Zhang 8ab35b2639
feat: add --parallelism to control throughput and vram usage (#727)
* feat: add --parallelism to control throughput and vram usage

* update default

* Revert "update default"

This reverts commit 349792c0d48d913dcd8be4ce1c9d7ce887918f29.

* cargo fmt
2023-11-08 18:31:22 +00:00
leiwen83 3fb8445747
feat: supports java (#715)
* feat: add java language configuration

* feat: add java repository context support

* Update programming-languages.md

* added rev to tree-sitter-java

Signed-off-by: Lei Wen <wenlei03@qiyi.com>
Co-authored-by: Lei Wen <wenlei03@qiyi.com>
2023-11-07 23:59:00 -08:00
Zhiming Ma b0a62e4af9
fix(intellij): fix agent IO charset to UTF8. (#723) 2023-11-07 23:08:00 -08:00
Meng Zhang 3af2ad7c60
docs: Update .gitattributes 2023-11-07 18:57:55 -08:00
Meng Zhang a8a89bbc6f
docs(README.md): add 0.5.4 to what's new 2023-11-07 13:44:08 -08:00
aliang e7f874b8da
feat: adding an auto completion component in chat playground (#702)
* feat: Adding an auto-completion component

* Update ee/tabby-ui/components/prompt-form.tsx

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

* fix: prepare for submitting prompt

* fix: Generate code block templates

* fix: select completion and replace with doc name

---------

Co-authored-by: Meng Zhang <meng@tabbyml.com>
2023-11-07 13:29:07 -08:00
Meng Zhang 6bea2a4a78
docs: add v0.5.4 to changelog 2023-11-07 13:27:52 -08:00