1
0

Merge pull request #35 from InterestingDarkness/incognito

This commit is contained in:
Antonio Cheong 2023-05-26 08:42:06 +08:00 committed by GitHub
commit 0bcb8635a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,7 @@ type ChatGPTRequest struct {
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 {
@ -29,6 +30,7 @@ func NewChatGPTRequest() ChatGPTRequest {
Action: "next",
ParentMessageID: uuid.NewString(),
Model: "text-davinci-002-render-sha",
HistoryAndTrainingDisabled: true,
}
}