1
0

incognito mode

This commit is contained in:
InterestingDarkness 2023-05-26 04:46:03 +08:00
parent 967b08eb0c
commit 5bf09af5a4

View File

@ -18,17 +18,19 @@ type chatgpt_author struct {
}
type ChatGPTRequest struct {
Action string `json:"action"`
Messages []chatgpt_message `json:"messages"`
ParentMessageID string `json:"parent_message_id,omitempty"`
Model string `json:"model"`
Action string `json:"action"`
Messages []chatgpt_message `json:"messages"`
ParentMessageID string `json:"parent_message_id,omitempty"`
Model string `json:"model"`
HistoryAndTrainingDisabled bool `json:"history_and_training_disabled"`
}
func NewChatGPTRequest() ChatGPTRequest {
return ChatGPTRequest{
Action: "next",
ParentMessageID: uuid.NewString(),
Model: "text-davinci-002-render-sha",
Action: "next",
ParentMessageID: uuid.NewString(),
Model: "text-davinci-002-render-sha",
HistoryAndTrainingDisabled: true,
}
}