File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 22 "name" : " alphawave" ,
33 "author" : " Steven Ickman" ,
44 "description" : " A very opinionated client for interfacing with Large Language Models." ,
5- "version" : " 0.19.0 " ,
5+ "version" : " 0.19.1 " ,
66 "license" : " MIT" ,
77 "keywords" : [
88 " ai" ,
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ export interface EmbeddingsModel {
1919 * `success` - The embeddings were successfully created.
2020 * `error` - An error occurred while creating the embeddings.
2121 * `rate_limited` - The request was rate limited.
22+ * `cancelled` - The request was cancelled.
2223 */
2324export type EmbeddingsResponseStatus = 'success' | 'error' | 'rate_limited' | 'cancelled' ;
2425
@@ -81,8 +82,9 @@ export interface PromptResponseValidator<TContent = any> {
8182 * `rate_limited` - The request was rate limited.
8283 * `invalid_response` - The response was invalid.
8384 * `too_long` - The rendered prompt exceeded the `max_input_tokens` limit.
85+ * `cancelled` - The prompt was cancelled.
8486 */
85- export type PromptResponseStatus = 'success' | 'error' | 'rate_limited' | 'invalid_response' | 'too_long' ;
87+ export type PromptResponseStatus = 'success' | 'error' | 'rate_limited' | 'invalid_response' | 'too_long' | 'cancelled' ;
8688
8789/**
8890 * Response returned by a `PromptCompletionClient`.
You can’t perform that action at this time.
0 commit comments