Skip to content

Commit

Permalink
fix(agent): Hotfix 1.1.1. Fix agent completion stats initialization e…
Browse files Browse the repository at this point in the history
…rror. (TabbyML#844)

* fix(agent): fix completion stats initialization error.

* fix(agent): Hotfix 1.1.1. Fix agent completion stats initialization error.

* fix: fix changelog format.
  • Loading branch information
icycodes authored Nov 20, 2023
1 parent 8654116 commit 1583e76
Show file tree
Hide file tree
Showing 12 changed files with 84 additions and 66 deletions.
6 changes: 6 additions & 0 deletions clients/intellij/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.1.1

### Fixes:

- Fix a bug cause the completion does not show up if the completion cache is missing.

## 1.1.0

### Features:
Expand Down
2 changes: 1 addition & 1 deletion clients/intellij/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

group = "com.tabbyml"
version = "1.1.0"
version = "1.1.1"

repositories {
mavenCentral()
Expand Down
56 changes: 28 additions & 28 deletions clients/intellij/node_scripts/tabby-agent.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions clients/intellij/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "intellij-tabby",
"version": "1.1.0",
"version": "1.1.1",
"description": "IntelliJ plugin for Tabby AI coding assistant.",
"repository": "https://github.com/TabbyML/tabby",
"scripts": {
Expand All @@ -10,6 +10,6 @@
"devDependencies": {
"cpy-cli": "^4.2.0",
"rimraf": "^5.0.1",
"tabby-agent": "1.1.0"
"tabby-agent": "1.1.1"
}
}
2 changes: 1 addition & 1 deletion clients/tabby-agent/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tabby-agent",
"version": "1.1.0",
"version": "1.1.1",
"description": "Generic client agent for Tabby AI coding assistant IDE extensions.",
"repository": "https://github.com/TabbyML/tabby",
"main": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion clients/tabby-agent/src/CompletionProviderStats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class CompletionProviderStats {
private completionRequestCanceledStats = new Average();
private completionRequestTimeoutCount = 0;

private recentCompletionRequestLatencies: Windowed;
private recentCompletionRequestLatencies: Windowed = new Windowed(this.config.windowSize);

updateConfigByRequestTimeout(timeout: number) {
this.config.checks.healthy.latency = timeout * 0.6;
Expand Down
6 changes: 6 additions & 0 deletions clients/vim/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.1.1

### Fixes:

- Fix a bug cause the completion does not show up if the completion cache is missing.

## 1.1.0

### Features:
Expand Down
2 changes: 1 addition & 1 deletion clients/vim/autoload/tabby/globals.vim
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ function! tabby#globals#Load()


" Version of Tabby plugin. Not configurable.
let g:tabby_version = "1.1.0"
let g:tabby_version = "1.1.1"
endfunction
56 changes: 28 additions & 28 deletions clients/vim/node_scripts/tabby-agent.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions clients/vim/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vim-tabby",
"version": "1.1.0",
"version": "1.1.1",
"description": "Vim plugin for Tabby AI coding assistant.",
"repository": "https://github.com/TabbyML/tabby",
"scripts": {
Expand All @@ -10,6 +10,6 @@
"devDependencies": {
"cpy-cli": "^4.2.0",
"rimraf": "^5.0.1",
"tabby-agent": "1.1.0"
"tabby-agent": "1.1.1"
}
}
6 changes: 6 additions & 0 deletions clients/vscode/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.1.2

### Fixes:

- Fix a bug cause the completion does not show up if the completion cache is missing.

## 1.1.0

## Features:
Expand Down
4 changes: 2 additions & 2 deletions clients/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"repository": "https://github.com/TabbyML/tabby",
"bugs": "https://github.com/TabbyML/tabby/issues",
"license": "Apache-2.0",
"version": "1.1.0",
"version": "1.1.2",
"keywords": [
"ai",
"autocomplete",
Expand Down Expand Up @@ -226,6 +226,6 @@
},
"dependencies": {
"@xstate/fsm": "^2.0.1",
"tabby-agent": "1.1.0"
"tabby-agent": "1.1.1"
}
}

0 comments on commit 1583e76

Please sign in to comment.