Commit Graph

479 Commits (bdda8a534f7e41c9611c57c8ce749e77ca53a1ca)

Author SHA1 Message Date
Zhiming Ma bdda8a534f
feat(intellij): add anonymous usage event IntelliJInitFailed. (#365)
* feat(intellij): add anonymous usage event plugin activated.

* fix(intellij): post event IntelliJinitFailed only when failed instead of PluginActivated.
2023-08-21 13:51:41 +08:00
Meng Zhang b1ad936033
feat: add version information in health state. (#363)
* feat: add git_hash in health state

* add more version information in health state
2023-08-20 15:21:12 +00:00
Meng Zhang df45573501
feat: reduce ServeHealth event to every 300s to reduce event volume (#362) 2023-08-20 12:36:59 +00:00
Zhiming Ma 3a2262429a
chore: bump VSCode extension version 0.3.0. (#361) 2023-08-18 10:55:57 +08:00
vodkaslime b4381acfbf
feat: add model-converter [TAB-153] (#357)
* feat: add transformers-to-ctranslate

* chore: resolve comments

* chore: fix

* chore: remove dotenv

* chore: resolve comments

* chore: lint

* chore: change dir name
2023-08-17 22:29:20 +08:00
Zhiming Ma 732d83feef
feat(agent): monitor completion response time. (#359)
* feat(agent): monitor completion response time.

* fix(agent): improve help message for running large model on cpu.

* fix: notification spacing.
2023-08-17 22:28:41 +08:00
vodkaslime 2026b4dd0e
feat: add architecture/cpu info to health api response [TAB-162] (#355)
* feat: add architecture, cpu and gpu info to health command

* chore: fix

* chore: fix

* chore: fix

* chore: fix lint

* chore: fix lint

* chore: remove gpu

* chore: resolve comments

* chore: resolve comments

* Update health.rs

---------

Co-authored-by: Meng Zhang <meng@tabbyml.com>
2023-08-15 15:22:03 +00:00
Sandro Figo 119d8740fc
Fix typo in tagline (#353) 2023-08-15 09:08:49 +08:00
Zhiming Ma d497217427
feat(agent): support add request headers in config. (#351)
* feat(agent): support add request headers in config.

* fix(agent): fix authRequired event condition.
2023-08-11 19:39:17 +08:00
Zhiming Ma ad85befc7c
fix(agent): event name Connected -> AgentConnected. (#350) 2023-08-10 17:34:24 +08:00
Zhiming Ma b6ce85733f
feat(agent): add anonymous event: Connected. (#349) 2023-08-10 17:14:45 +08:00
Zhiming Ma 61a885ddd8
fix(vscode): will show warning if editor inline suggest is disabled. (#348)
* fix(vscode): will show warning if editor inline suggest is disabled.

* fix(vscode): update notification message when inline suggest disabled.
2023-08-10 15:57:59 +08:00
Zhiming Ma 3052ad4450
fix(vim): text inserted position error when completion ends with empty line. (#346) 2023-08-09 18:29:06 +08:00
Zhiming Ma d89d5aeef2
fix(vim): multibytes characters counting. (#345) 2023-08-09 17:42:57 +08:00
Meng Zhang dbc89831b1
feat: add serve health heartbeat (#343)
* add serve health tracking

* fix lint

* fix
2023-08-09 08:08:42 +00:00
Meng Zhang a128fdcf5a
docs: Update self-hosting.md about usage collection (#344) 2023-08-09 16:02:37 +08:00
Meng Zhang d0f6ad2d2a
feat: add anonymous usage tracker (#342)
* feat: add anonymous usage tracker

* improve deps

* update

* update
2023-08-09 07:31:13 +00:00
Zhiming Ma 203949bb76
feat(intellij): support auth. (#341) 2023-08-09 13:55:24 +08:00
Meng Zhang 220fcc0d65
fix: make `config.experimental` optional (#339)
* fix: make config.experimental` optional

* add unit test for empty toml config
2023-08-07 09:53:00 +00:00
Zhiming Ma 9e44d469d1
docs: add instruction to intellij plugin. (#338) 2023-08-05 13:13:21 +08:00
Zhiming Ma d4a83cf302
chore: update intellij plugin description. Bump version to 0.1.2. (#337) 2023-08-04 23:18:02 +08:00
Zhiming Ma 81f953faea
fix(intellij): node process not closed. (#336) 2023-08-04 16:59:31 +08:00
Zhiming Ma a90a195807
fix(intellij): fix compatibility for build 2023.x. Bump version to 0.1.1. (#335) 2023-08-04 14:18:14 +08:00
Zhiming Ma 7a61ceac1b
chore: bump intellij plugin version to 0.1.0. (#334) 2023-08-04 12:39:47 +08:00
Zhiming Ma 20e9788f29
feat(intellij): add statusbar and settings (#333)
* fix: intellij job coroutines and cancellation.

* feat: intellij plugin add settings.

* fix: intellij plugin language id map.

* fix: intellij log completion events.

* feat(intellij): add status bar.

* docs: update docs for intellij plugin.
2023-08-04 12:02:32 +08:00
Meng Zhang 4eaae27ed3
Update Cargo.toml (#331) 2023-08-03 19:55:00 +08:00
Meng Zhang 6a50902ca7
fix: support ctranslate2 rev7 vocab files (.json) (#327) 2023-08-02 13:36:31 +00:00
Meng Zhang b990781c9f
feat: upgrade ctranslate2 to v3.17.1 (#326) 2023-08-02 15:03:24 +08:00
Meng Zhang 57c811b30f
fix: improve download logging (#325)
* Suggest use `-it` so docker run generate progress bar of downloading information properly

* add info! log for model download
2023-08-02 06:30:35 +00:00
Meng Zhang b8308b7118
refactor: extract TextGeneration trait (#324)
* add tabby-inference

* extract TextGeneration trait

* format

* Rename TextInferenceEngine to CTranslate2Engine
2023-08-02 06:12:51 +00:00
Meng Zhang 83e1cf76d8
feat: Upgrade ctranslate2 to v3.17.1 (#323) 2023-08-02 05:46:08 +00:00
Zhiming Ma 67d407779c
feat(intellij): auto trigger completion and add hotkeys to accept/dismiss completion. (#315) 2023-07-27 16:47:51 +08:00
Meng Zhang b66a178bb7
docs: Update self-hosting.md 2023-07-26 21:15:31 +08:00
Meng Zhang ce79d40e07
docs: Update self-hosting.md 2023-07-26 18:19:38 +08:00
Zhiming Ma ead8090a8f
feat: add intellij plugin. (#312)
* feat: add intellij plugin.

* fix: fix name in intellij/package.json.
2023-07-25 19:17:14 +08:00
Zhiming Ma 81a8332c89
chore: bump VSCode extension version 0.2.1. (#303) 2023-07-17 16:47:54 +08:00
Zhiming Ma ec73728825
chore(vscode): set keybinding default to vscode-style. (#302) 2023-07-17 12:58:42 +08:00
Zhiming Ma 3c8455077e
docs(vscode): add changelog. (#300) 2023-07-16 16:03:13 +08:00
Meng Zhang 95bd53ac9c
feat: add select kind param. Supported editors could log line select … (#299)
* feat: add select kind param. Supported editors could log line select or block select

* fix lint
2023-07-16 16:02:40 +08:00
Zhiming Ma 3457599db5
chore: bump VSCode extension version 0.1.2. (#298) 2023-07-14 15:16:19 +08:00
Zhiming Ma 1878644778
feat(vscode): add keybindings for accepting inline completions. (#297)
* feat(vscode): add keybindings for accepting inline completions.

* fix: set vscode keybinding profile to tabby-style.

* fix: update vscode keybindings documentation.

* docs: update vscode keybindings documentation.
2023-07-14 14:54:24 +08:00
Meng Zhang be5fe0d737
feat: add rust prompt rewrite support (#296) 2023-07-13 09:31:44 +00:00
Meng Zhang 4388fd0050
feat: support prompt rewriting (#295)
* refactor: extract PromptBuilder

* feat: load tantivy index in prompt builder

* integrate with searcher

* add enable_prompt_rewrite to control rewrite behavior

* nit docs

* limit 1 snippet per identifier

* extract magic numbers
2023-07-13 09:05:41 +00:00
Zhiming Ma 207559b0a2
feat: Agent add postprocess for repetitive patterns. (#294) 2023-07-13 16:31:20 +08:00
Meng Zhang 19586a4926
fix: fix bad indexing field of tag indexer (#293) 2023-07-13 07:19:46 +00:00
Meng Zhang 24d17dc1ed
feat: switching index to tag based (#265)
* add tag based index

* update for python

* fix lint
2023-07-13 06:25:39 +00:00
Meng Zhang be90047477
fix: fix int8 compute type, fix auto compute type selection (include float32 into consideration for cuda compute capability <= 6.0) (#291) 2023-07-12 11:09:38 +08:00
Meng Zhang 2ad0b69786
feat(experimental): visualize with streamlit (#290) 2023-07-11 15:29:45 +08:00
Zhiming Ma 5a5d6ee9d2
refactor: update yarn workspace struct and build scripts. (#288)
* refactor: update yarn workspace struct and build scripts.

* fix: vim upgrade agent script.
2023-07-11 14:02:58 +08:00
Meng Zhang 7ca416aa13 feat(experimental): add script to run eval in cli 2023-07-11 10:34:41 +08:00