Update types.ts

pull/618/head
Fongsi 2023-10-11 17:07:50 +07:00 zatwierdzone przez GitHub
rodzic 73fb30bc11
commit 360e55f31c
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 11 dodań i 0 usunięć

Wyświetl plik

@ -50,6 +50,13 @@ export type SendMessageOptions = {
>
}
export interface DeleteConversation = {
success?: boolean
detail?:
| openai.CreateChatCompletionResponse
| CreateChatCompletionStreamResponse
}
export type MessageActionType = 'next' | 'variant'
export type SendMessageBrowserOptions = {
@ -132,6 +139,10 @@ export type ConversationJSONBody = {
parent_message_id: string
}
export type DeleteConversationJSONBody = {
is_visible: boolean
}
export type Prompt = {
/**
* The content of the prompt