Skip to content

Commit

Permalink
docs: update release info for 0.8.3 (TabbyML#1400)
Browse files Browse the repository at this point in the history
* docs: update openapi.json

* update change log
  • Loading branch information
wsxiaoys authored Feb 6, 2024
1 parent 14cdca0 commit 58a5968
Show file tree
Hide file tree
Showing 2 changed files with 128 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

* The `user` field in the `~/tabby/events` log is now populated for users who authenticate via the `--webserver` feature.

# v0.8.1
# v0.8.3

## Fixes and Improvements

Expand Down
133 changes: 127 additions & 6 deletions website/static/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"openapi": "3.0.3",
"info": {
"title": "Tabby Server",
"description": "\n[![tabby stars](https://img.shields.io/github/stars/TabbyML/tabby)](https://github.com/TabbyML/tabby)\n[![Join Slack](https://shields.io/badge/Join-Tabby%20Slack-red?logo=slack)](https://join.slack.com/t/tabbycommunity/shared_invite/zt-1xeiddizp-bciR2RtFTaJ37RBxr8VxpA)\n\nInstall following IDE / Editor extensions to get started with [Tabby](https://github.com/TabbyML/tabby).\n* [VSCode Extension](https://github.com/TabbyML/tabby/tree/main/clients/vscode) – Install from the [marketplace](https://marketplace.visualstudio.com/items?itemName=TabbyML.vscode-tabby), or [open-vsx.org](https://open-vsx.org/extension/TabbyML/vscode-tabby)\n* [VIM Extension](https://github.com/TabbyML/tabby/tree/main/clients/vim)\n* [IntelliJ Platform Plugin](https://github.com/TabbyML/tabby/tree/main/clients/intellij) – Install from the [marketplace](https://plugins.jetbrains.com/plugin/22379-tabby)\n",
"description": "\n[![tabby stars](https://img.shields.io/github/stars/TabbyML/tabby)](https://github.com/TabbyML/tabby)\n[![Join Slack](https://shields.io/badge/Join-Tabby%20Slack-red?logo=slack)](https://links.tabbyml.com/join-slack)\n\nInstall following IDE / Editor extensions to get started with [Tabby](https://github.com/TabbyML/tabby).\n* [VSCode Extension](https://github.com/TabbyML/tabby/tree/main/clients/vscode) – Install from the [marketplace](https://marketplace.visualstudio.com/items?itemName=TabbyML.vscode-tabby), or [open-vsx.org](https://open-vsx.org/extension/TabbyML/vscode-tabby)\n* [VIM Extension](https://github.com/TabbyML/tabby/tree/main/clients/vim)\n* [IntelliJ Platform Plugin](https://github.com/TabbyML/tabby/tree/main/clients/intellij) – Install from the [marketplace](https://plugins.jetbrains.com/plugin/22379-tabby)\n",
"license": {
"name": "Apache 2.0",
"url": "https://github.com/TabbyML/tabby/blob/main/LICENSE"
},
"version": "0.6.0"
"version": "0.8.3"
},
"servers": [
{
Expand Down Expand Up @@ -46,7 +46,12 @@
"400": {
"description": "Bad Request"
}
}
},
"security": [
{
"token": []
}
]
}
},
"/v1/events": {
Expand All @@ -72,7 +77,12 @@
"400": {
"description": "Bad Request"
}
}
},
"security": [
{
"token": []
}
]
}
},
"/v1/health": {
Expand All @@ -92,13 +102,78 @@
}
}
}
}
},
"security": [
{
"token": []
}
]
}
}
},
"components": {
"schemas": {
"ChatCompletionChoice": {
"type": "object",
"required": [
"index",
"delta"
],
"properties": {
"index": {
"type": "integer",
"minimum": 0
},
"logprobs": {
"type": "string",
"nullable": true
},
"finish_reason": {
"type": "string",
"nullable": true
},
"delta": {
"$ref": "#/components/schemas/ChatCompletionDelta"
}
}
},
"ChatCompletionChunk": {
"type": "object",
"required": [
"id",
"created",
"system_fingerprint",
"object",
"model",
"choices"
],
"properties": {
"id": {
"type": "string"
},
"created": {
"type": "integer",
"format": "int64",
"minimum": 0
},
"system_fingerprint": {
"type": "string"
},
"object": {
"type": "string"
},
"model": {
"type": "string"
},
"choices": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ChatCompletionChoice"
}
}
}
},
"ChatCompletionDelta": {
"type": "object",
"required": [
"content"
Expand All @@ -120,6 +195,17 @@
"items": {
"$ref": "#/components/schemas/Message"
}
},
"temperature": {
"type": "number",
"format": "float",
"nullable": true
},
"seed": {
"type": "integer",
"format": "int64",
"nullable": true,
"minimum": 0
}
},
"example": {
Expand Down Expand Up @@ -177,6 +263,19 @@
"type": "string",
"description": "A unique identifier representing your end-user, which can help Tabby to monitor & generating\nreports.",
"nullable": true
},
"temperature": {
"type": "number",
"format": "float",
"description": "The temperature parameter for the model, used to tune variance and \"creativity\" of the model output",
"nullable": true
},
"seed": {
"type": "integer",
"format": "int64",
"description": "The seed used for randomly selecting tokens",
"nullable": true,
"minimum": 0
}
},
"example": {
Expand Down Expand Up @@ -320,7 +419,7 @@
"properties": {
"type": {
"type": "string",
"description": "Event type, should be `view` or `select`.",
"description": "Event type, should be `view`, `select` or `dismiss`.",
"example": "view"
},
"completion_id": {
Expand All @@ -330,6 +429,16 @@
"type": "integer",
"format": "int32",
"minimum": 0
},
"view_id": {
"type": "string",
"nullable": true
},
"elapsed": {
"type": "integer",
"format": "int32",
"nullable": true,
"minimum": 0
}
}
},
Expand Down Expand Up @@ -381,6 +490,11 @@
"type": "string",
"description": "Content that appears after the cursor in the editor window.",
"nullable": true
},
"clipboard": {
"type": "string",
"description": "Clipboard content when requesting code completion.",
"nullable": true
}
}
},
Expand Down Expand Up @@ -427,6 +541,13 @@
}
}
}
},
"securitySchemes": {
"token": {
"type": "http",
"scheme": "bearer",
"bearerFormat": "token"
}
}
}
}

0 comments on commit 58a5968

Please sign in to comment.