* feat: adding create bot functionality Signed-off-by: James <james@jan.ai> * update the temperature progress bar Signed-off-by: James <james@jan.ai> * chore: remove tgz Signed-off-by: James <james@jan.ai> * update core dependency Signed-off-by: James <james@jan.ai> * fix e2e test Signed-off-by: James <james@jan.ai> --------- Signed-off-by: James <james@jan.ai> Co-authored-by: James <james@jan.ai>
22 lines
408 B
TypeScript
22 lines
408 B
TypeScript
export interface Conversation {
|
|
_id?: string
|
|
modelId?: string
|
|
name?: string
|
|
image?: string
|
|
message?: string
|
|
lastMessage?: string
|
|
summary?: string
|
|
createdAt?: string
|
|
updatedAt?: string
|
|
botId?: string
|
|
}
|
|
|
|
/**
|
|
* Store the state of conversation like fetching, waiting for response, etc.
|
|
*/
|
|
export type ConversationState = {
|
|
hasMore: boolean
|
|
waitingForResponse: boolean
|
|
error?: Error
|
|
}
|