oops2
This commit is contained in:
parent
febe0cff3e
commit
287e0ef296
@ -33,12 +33,12 @@ type ChatGPTRequest struct {
|
||||
}
|
||||
|
||||
func NewChatGPTRequest() ChatGPTRequest {
|
||||
disable_history := os.Getenv("DISABLE_HISTORY") != ""
|
||||
enable_history := os.Getenv("ENABLE_HISTORY") == ""
|
||||
return ChatGPTRequest{
|
||||
Action: "next",
|
||||
ParentMessageID: uuid.NewString(),
|
||||
Model: "text-davinci-002-render-sha",
|
||||
HistoryAndTrainingDisabled: disable_history,
|
||||
HistoryAndTrainingDisabled: !enable_history,
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user