Skip to content

Commit aa4e94a

Browse files
committed
Added "cancelled" response status for embeddings
1 parent e160cd6 commit aa4e94a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vectra",
33
"author": "Steven Ickman",
44
"description": "A vector database that uses the local file system for storage.",
5-
"version": "0.7.6",
5+
"version": "0.9.0",
66
"license": "MIT",
77
"keywords": [
88
"gpt"

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export interface EmbeddingsModel {
2424
* `error` - An error occurred while creating the embeddings.
2525
* `rate_limited` - The request was rate limited.
2626
*/
27-
export type EmbeddingsResponseStatus = 'success' | 'error' | 'rate_limited';
27+
export type EmbeddingsResponseStatus = 'success' | 'error' | 'rate_limited' | 'cancelled';
2828

2929
/**
3030
* Response returned by a `EmbeddingsClient`.

0 commit comments

Comments
 (0)