Commit Graph

2458 Commits

Author SHA1 Message Date
Meng Zhang
a3864a3280
fix(core): canonicalize git_url before performing code search (#2612)
* fix(core): canonicalize git_url before performing code search

Previously, the git_url used in the index was not properly canonicalized, leading to inconsistencies when performing queries. This commit updates the code to ensure that the git_url is canonicalized before performing the code search.

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-10 23:38:16 +09:00
Mehdi CHTAYTI
510a63c095
feat: add support for OpenAI completion API (#2604)
* feat: add support for OpenAI completion endpoint

* add openai/completion example in model configuration documentation
2024-07-10 18:40:51 +09:00
Meng Zhang
dcc91d1d6c
feat: add collect_relevant_code_using_user_message to support collect relevant code snippet with user query (#2602) 2024-07-10 15:07:05 +09:00
Meng Zhang
42e8567375
fix(llama): fill model name when starting local llama.cpp server (#2610) 2024-07-10 04:32:05 +00:00
aliang
442247fd61
fix(ui): correct the result counts of code searching (#2609) 2024-07-10 02:37:20 +00:00
Meng Zhang
119953aee1
docs: fix video width in mobile for codestral (#2608) 2024-07-10 10:41:48 +09:00
Lucy Gao
09afb609f4
docs: update banner image so it looks better in X post (#2607) 2024-07-10 10:38:11 +09:00
Meng Zhang
a14efb5ce8 docs: document the 0.13.1 release 2024-07-10 10:24:36 +09:00
Wang Zixiao
cfdf70fe36
feat(vscode): support code block insert or replace button (#2583)
* chore(ui): use client to replace from in chat

* feat(vscode): support code block insert or replace button

* update

* update

* update
2024-07-10 08:52:23 +08:00
Wang Zixiao
fb02748788
fix(vscode): chat panel context filepath should be decoded (#2600) 2024-07-10 08:42:39 +08:00
Meng Zhang
893f58d76c
chore: when repositoryGrep matched a file (without content), display … (#2605)
* chore: when repositoryGrep matched a file (without content), display top 5 lines.

* update

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-10 09:29:45 +09:00
Meng Zhang
116e1e1826
refactor: rename tabby-scheduler to tabby-index (#2606) 2024-07-10 00:27:19 +00:00
Meng Zhang
5956d15b89
refactor(scheduler): extract tabby-crawler crate (#2603)
* refactor(scheduler): extract tabby-crawler crate

* fix tests

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-10 08:50:26 +09:00
Lucy Gao
9307e3867b
docs: add Codestral x Tabby blog (#2598) 2024-07-10 08:10:18 +09:00
aliang
aabc22e9fb
feat(ui): add code search functionality (#2587)
* feat(ui): add code search functionality

* [autofix.ci] apply automated fixes

* update

* update: adjust style

* [autofix.ci] apply automated fixes

* add eventlistener

* display duration

* [autofix.ci] apply automated fixes

* using numeral

* update style of breadcrumb

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-09 18:31:07 +09:00
Meng Zhang
15e82f2c1f
docs: Update programming-languages.md 2024-07-09 15:48:46 +09:00
Meng Zhang
ef8542c6b1
feat: add mistral/chat support to talk to mistral api platform through chat api (#2568)
* feat: support ExtendedOpenAIConfig

* update

* support mistral/chat use case
2024-07-09 05:11:23 +00:00
Meng Zhang
70a508b2ca chore: bump llama.cpp to b3334 2024-07-09 11:05:20 +09:00
Meng Zhang
e5304fc6e9
chore(git): fix grep panic when request got cancelled (#2599) 2024-07-09 01:41:52 +00:00
Meng Zhang
9ab14665b7
chore: enable fast attention for Qwen2-1.5B-Instruct model (#2592)
Explicitly enable fast attention for Qwen2-1.5B-Instruct model, as it has been our recommended default since version 0.13. However, it presents some problems in certain CUDA environments. For details, see https://github.com/TabbyML/tabby/issues/2550. Once upstream issues are resolved, we should remove this workaround.
2024-07-08 14:28:19 +09:00
Meng Zhang
6749399a1c
chore: remove admin controls as it's largely meaningless in newer versions (#2591) 2024-07-08 14:26:46 +09:00
Meng Zhang
d1fd8cffd1
docs: update Q3 2024 roadmap (#2590) 2024-07-08 08:32:47 +09:00
Meng Zhang
39628f8932
refactor: use DocIndexer for web crawling (#2586)
* refactor: use DocIndexer for web crawling

* updatE
2024-07-05 08:51:37 +00:00
Meng Zhang
ac49f8e3ba
chore: dedupe issues / PRs indexing by updated_at (#2576)
* chore: dedupe issues / PRs indexing by updated_at

* add dedup logic with updated_at comparision

* refactor: extract doc.public

* refactor: combine SourceDocument and WebDocument

* add unit test to verify updated_at dedup logic work

* use query to compare date to avoid read date
2024-07-05 08:30:06 +00:00
Meng Zhang
2e97f4534d
feat: Add title embedding tokens to enhance search results (#2574) 2024-07-05 17:11:34 +09:00
Lucy Gao
1e2f84e68b
docs: update what's new (#2585)
* docs: update what's new

* fix date and a few wording.
2024-07-05 17:10:28 +09:00
Wang Zixiao
41dc03a413
chore(chat-panel): add comment to the chatMessage (#2584)
* chore(chat-panel): add comment to the chatMessage

* update
2024-07-05 16:57:16 +09:00
Meng Zhang
1f0b993772
ci: fix centos mirror address (#2582)
* ci: fix many linux build by adding openssl

* update
2024-07-05 14:20:25 +09:00
Zhiming Ma
6003c7b8ee
fix(vscode): fix initialization error when git extension unavailable. (#2577) 2024-07-05 13:09:46 +08:00
Meng Zhang
af6d5be676 ci: fix node16 version for release binary 2024-07-04 18:56:08 +09:00
Meng Zhang
ac7673ad84 ci-fix-node16 2024-07-04 18:46:12 +09:00
Meng Zhang
8ca1915e1d ci: set ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true to allow actions run node16 2024-07-04 18:39:10 +09:00
Zhiming Ma
18304f4cb1
feat(agent): add system command based git context provider as default. (#2571)
* feat(agent): add system command based git context provider as default.

* fix(agent): fix ensureCwd and errorHandler of GitContextProvider.

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-04 12:00:28 +08:00
Zhiming Ma
4290c59e94
chore: remove outdated example-vscode-lsp project. (#2575)
* chore: remove outdated vscode lsp example project.

* chore: update pnpm-lock.

* chore: update README of outdated vscode-lsp-example project.
2024-07-04 11:58:06 +08:00
Meng Zhang
5cf49a1535
chore: add logging to issues / prs indexing (#2573)
* chore: add logging to issues / prs indexing

* update
2024-07-04 12:43:24 +09:00
Wang Zixiao
c2ddfb6b48
chore(vscode): simplify chat page rendering (#2572) 2024-07-04 10:13:45 +09:00
Meng Zhang
62430ace9a ci: fix llama-server build by setting BUILD_SHARED_LIBS=OFF 2024-07-03 21:47:40 +09:00
Meng Zhang
a480375aa7 ci: fix docker build by adding cuda compat ld load path to fix missing
libcuda.so.1
2024-07-03 20:55:51 +09:00
aliang
26e0842880
refactor(ui): ajust the structure of file blob view in code browser (#2558) 2024-07-03 17:51:34 +09:00
Meng Zhang
f416bc36e9
ci: fix cuda build by adding ssl in docker 2024-07-03 17:24:19 +09:00
Meng Zhang
34799a55d9 ci: fix llama-server build 2024-07-03 16:14:53 +09:00
Wang Zixiao
7b048c2e1a
feat(vscode): send chat message with selection if available (#2556)
* feat(vscode): send chat message with selection if available

* build fix

* [autofix.ci] apply automated fixes

* using relavant context

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-03 16:02:25 +09:00
Meng Zhang
64cc7f493f
refactor(webserver): switch to openai chat interface (#2564)
* refactor(webserver): switch to openai chat interface

* fix query get content

* update utoipa path

* fix test

* [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-07-03 15:44:34 +09:00
Meng Zhang
4ce404ed47
feat: bump llama.cpp to b3267 to support Deepseek-Lite-V2 (#2565) 2024-07-03 02:51:12 +00:00
Zhiming Ma
1d3805c3cf
fix(intellij): fix trigger for inline completion (#2560)
* fix(intellij): fix trigger completion action priority.

* fix(intellij): fix auto dismiss for manually trigger.
2024-07-02 07:05:28 +08:00
Meng Zhang
7c30d74836
chore: add flag override warning for --model / --chat (#2559) 2024-07-01 23:30:13 +09:00
Meng Zhang
d66f960afa
feat(config): add option enable_fast_attention for local model config (#2555) 2024-07-01 03:29:21 +00:00
Meng Zhang
0838a83310
chore: when time is past, just continue to next schedule (#2554) 2024-07-01 01:16:07 +00:00
Meng Zhang
3b82340091
Revert "ci: add compat ld path for locatinglibcuda.so.1 in docker build " (#2553)
This reverts commit 15e2e34441.
2024-06-30 17:19:47 +09:00
Meng Zhang
7f3b1b9d1e
fix: when device is cpu - num_gpu_layers should default to 0 (#2552) 2024-06-29 23:55:45 +00:00