kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
Update types.ts
rodzic
73fb30bc11
commit
360e55f31c
11
src/types.ts
11
src/types.ts
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue