Commit Graph

1109 Commits (086692145cc4c0dc3ea72be36e952f7f495eeeaf)

Author SHA1 Message Date
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
Meng Zhang 1ad0d39903
fix: deadlock between background job and requests (#720)
* fix: deadlock between background job and requests

* refactor: extract LlamaService
2023-11-07 13:11:28 -08:00
Meng Zhang b001816671
chore: change default bug label to be bug-unconfirmed 2023-11-07 08:59:54 -08:00
Meng Zhang 1351642430
docs: add 0.5.3 release to what's new
cc @gyxlucy
2023-11-07 01:29:25 -08:00
Meng Zhang 8d7724b30a
chore: Update CHANGELOG.md 2023-11-07 00:58:25 -08:00
Meng Zhang ec50e4f391 chore: add issue translator 2023-11-07 00:55:52 -08:00
Meng Zhang 3c3b14c9f5
fix: cuda serialization 2023-11-07 00:55:38 -08:00
Meng Zhang cd8edc2fef
Update CHANGELOG.md 2023-11-07 00:35:25 -08:00
Meng Zhang ca52ac4b01 fix: support cpu only run in llama.cpp cuda build 2023-11-06 22:59:24 -08:00
Meng Zhang eb7ae96157
fix: llama.cpp requires kv cache to be N_CTX * parallelism (#714) 2023-11-07 06:16:36 +00:00