Commit Graph

2357 Commits

Author SHA1 Message Date
Meng Zhang
b7d2cf6044
feat(webserver): use logkit to simplify logging to db for background jobs. (#2497)
* switch to log crate for dblogger

* fix

* make fix

* update
2024-06-25 14:01:37 +08:00
aliang
df1108d3ff
fix(ui): parse directory basename properly (#2492) 2024-06-24 19:59:25 +08:00
Meng Zhang
8a6b02aa1e
chore(scheduler): mark technologies optional (#2491)
* docs: add Qwen2-1.5B-Instruct as default chat model used in installation tutorials

* chore(scheduler): mark technologies optional
2024-06-24 10:45:23 +00:00
Meng Zhang
b3988d5f32
docs: add Qwen2-1.5B-Instruct as default chat model used in installation tutorials (#2490) 2024-06-24 18:38:17 +08:00
Meng Zhang
efdadc6a5f
refactor(core): remove scheduler command as web ui is enabled by default (#2489)
* refactor(core): remove scheduler command as web ui is mature

* update
2024-06-24 10:03:27 +00:00
Eric
a772c41a91
refactor: panic on invalid config.toml loading (#2460)
* refactor: panic on invalid config.toml loading

* allow tabby start when config is missing

* add warning message

* resolve comment

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-06-24 18:02:16 +08:00
Meng Zhang
6cb2624858 chore: update ui 2024-06-24 17:35:33 +08:00
Meng Zhang
286c10fe58
refactor(scheduler): cleanup code indexer structure (#2488)
* refactor(scheduler): cleanup code indexer structure

* update

* update log level

* update
2024-06-24 09:32:36 +00:00
aliang
46bc58625e
fix(ui): correct the placholder for provider display name (#2487) 2024-06-24 17:17:51 +08:00
Meng Zhang
381e88392c
refactor(scheduler): remove kv cache, using tantivy directly for incremental indexing + garbage collection (#2485)
* refactor(scheduler): remove get_source_file cache as it's no longer the bottleneck for computation

* chore: rename methods

* switch to tantivy for garbage collection

* remove legacy KV cache

* rename to source_file_key

* update

* update

* format

* update

* update

* update

* update

* update
2024-06-24 08:52:37 +00:00
Wang Zixiao
3a72e884d5
chore(ui): prefetch /search from the home page (#2486) 2024-06-24 15:58:30 +08:00
Wang Zixiao
730e0ecd30
fix(ui): search citation rendering issues (#2484)
* fix(ui): search citation invalid character

* citation popup and render inside li

* default favicon

* clean

* update

* key issue
2024-06-24 14:53:32 +08:00
aliang
5e3a2f3af3
fix(ui): add apiBase field to query response (#2373)
* fix(ui): add apiBase field to query response

* update

* update schema
2024-06-24 11:36:16 +08:00
Wang Zixiao
3257aca03c
fix(ui): theme color issue (#2482)
* fix(ui): dark mode search panel is transparent

* search scroll button style

* handle system theme correctly

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-06-24 09:58:44 +08:00
Meng Zhang
141c20966a
chore(scheduler): ignore katana request without status code (#2481) 2024-06-23 05:57:30 +00:00
Meng Zhang
cb9091289f
refactor(job): switch to sqlite as background job queue (#2480)
* refactor(job): switch to sqlite as background job queue

* refactor: remove mpsc for jobqueue

* return ID from trigger command

* cleanup fixme

* fix
2024-06-23 13:39:43 +08:00
Meng Zhang
18986b08f3
fix: actually implement latest_job_run (#2478)
* cleanup

* fix: actually implement latest_job_run

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-06-22 17:05:47 +08:00
Meng Zhang
428790faf1
docs: add prompt template information to http based completion config. 2024-06-22 16:58:54 +08:00
boxbeam
59dcad4bbc
feat(webserver): populate last job run for repositories and web crawler URLs (#2444)
* feat(webserver): populate last job run for repositories and web crawler URLs

* [autofix.ci] apply automated fixes

* Introduce JobKey

* Apply suggestions

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-06-22 03:05:24 +00:00
boxbeam
b8bb15a9fc
feat(tabby): allow specifying custom certificates or allowing insecure certs for gitlab (#2392)
* feat(tabby): allow specifying custom certificates or allowing insecure certs for gitlab

* [autofix.ci] apply automated fixes

* Update gitlab

* Remove unneeded client_pem feature

* Revert import

* Simplify import format

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-06-22 10:57:41 +08:00
Meng Zhang
d3aec3dd3d
chore(llama-cpp-server): improve logging of LlamaCppSupervisor (#2476) 2024-06-22 02:52:21 +00:00
Meng Zhang
8f988b9e30
fix(webserver): check _rsc query with contains (#2475)
* fix(webserver): fix /files prefetching with _rsc

* fix(webserver): check _rsc query with contains
2024-06-21 18:10:19 +00:00
Meng Zhang
b58d0775df
fix(webserver): fix /files prefetching with _rsc (#2474) 2024-06-21 17:10:34 +00:00
boxbeam
8b56e324b9
fix(webserver): improve error handling and report stdout for doc indexing pipeline (#2462)
* fix(webserver): improve error handling for doc indexing pipeline

* Properly return stdout/errors

* [autofix.ci] apply automated fixes

* Update frontend text

update

update

update

* update description

* update

* update

* fix compiling

* fix

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Meng Zhang <meng@tabbyml.com>
2024-06-21 23:00:30 +08:00
Zhiming Ma
4855d23660
fix(agent): fix the endpoint config to always remove trailing slash. (#2472)
* fix(agent): fix the endpoint config to always remove trailing slash.

* fix(agent): fix lint.
2024-06-21 21:32:40 +08:00
Wang Zixiao
64a4df227a
docs: update windows installation (#2449) 2024-06-21 20:44:23 +08:00
Meng Zhang
1613bc9341
ci: fix extension name on unix-like system (#2471) 2024-06-21 17:52:11 +08:00
Wang Zixiao
2a38cede3d
fix(ui): separate search path with home (#2469)
* auto focus

* fix(ui): seperate search path with home

* clean

* code comment
2024-06-21 16:52:04 +08:00
Meng Zhang
fbc03f85d5
ci: install katana in docker build (#2466)
* ci: install katana in docker build

* updatE

* Update Dockerfile.cuda
2024-06-21 16:50:06 +08:00
aliang
05c5492d9a
fix(ui): add backward compatibilty for line query (#2468) 2024-06-21 16:41:14 +08:00
aliang
48785f185d
fix(ui): add crawler url trimming (#2467) 2024-06-21 13:49:26 +08:00
Wang Zixiao
d48450f8cf
fix(ui): fix home height and autofocus and stop button not working (#2459)
* fix(ui): quick stop search

* fix home height issue

* auto focus

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-06-21 13:16:18 +08:00
Meng Zhang
3bb838bfa2
chore(webserver): update feature table in subscription page (#2465)
* chore(webserver): update feature table in subscription page

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-06-21 04:48:18 +00:00
boxbeam
306c4f61e9
fix(schema): fix validations for web crawler URLs and integrations (#2461) 2024-06-21 10:00:34 +08:00
boxbeam
2eb5c2abe3
fix(webserver): remove web crawler cron job, making it manual only (#2463) 2024-06-21 09:42:37 +08:00
Meng Zhang
20036fb1e8 ci: remove rocm docker build step 2024-06-20 18:09:45 +08:00
Wang Zixiao
dafc003c62
chore(ui): beta badge on web provider (#2458) 2024-06-20 17:51:47 +08:00
Meng Zhang
98ec8c45f4
chore(crawler): use artitle_title if exists, and trim special chars (#2456) 2024-06-20 08:09:13 +00:00
Meng Zhang
4fdafe33b9
chore(ee): bump the team license seat limit to 200 (#2455)
* chore(ee): bump the team license seat limit to 200

* update
2024-06-20 07:48:33 +00:00
aliang
3a1f49bb0c
fix(ui): correct the link in the error view of code browser (#2454) 2024-06-20 07:34:41 +00:00
Meng Zhang
2f820db58b
feat(webserver): rewrites /files/... to /files (#2453) 2024-06-20 07:17:26 +00:00
Meng Zhang
df20ed0834 chore: update ui 2024-06-20 14:59:19 +08:00
Meng Zhang
7e60e953fd
chore(core): add embedding score threshold to tantivy doc search (#2452)
* chore(core): add embedding score threshold to tantivy doc search

* [autofix.ci] apply automated fixes

* dedupe chunks by maxsim

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-06-20 06:49:42 +00:00
aliang
6c8437507d
feat(ui): integrate trigger job (#2448)
* feat(ui): integrate trigger job run

* trigger job and refresh

* icon

* [autofix.ci] apply automated fixes

* icon

* url validate

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-06-20 06:16:14 +00:00
aliang
6a43a58f98
feat(ui): integrate doc crawler URLs (#2432)
* feat(ui): crawler url crud

* add job column

* update tabs header

* trigger job run
2024-06-20 13:51:52 +08:00
Wang Zixiao
0856f7ad85
chore(ui): enable searching with default true (#2450) 2024-06-20 13:49:21 +08:00
Meng Zhang
efcd2b907c
chore(webserver): expose git / github_gitlab / web jobs to frontend (#2447)
* chore(webserver): expose git / github_gitlab / web jobs to frontend

* add job display name

* update

* [autofix.ci] apply automated fixes

* make fix

* update

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-06-20 03:20:50 +00:00
Wang Zixiao
4a135366a6
chore(ui): add comment on toml syntax overriding 2024-06-20 10:51:57 +08:00
boxbeam
45481b0174
feat(webserver): index gitlab merge requests as well as issues (#2445)
* feat(webserver): index gitlab merge requests as well as issues

* Use web URLs for index IDs
2024-06-20 09:25:15 +08:00
Meng Zhang
f2f27cd681
chore: switch to htmd for html -> markdown in web crawler (#2442) 2024-06-19 11:25:35 +00:00