Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Commit

Permalink
add suggestions support
Browse files Browse the repository at this point in the history
  • Loading branch information
linweiyuan committed Aug 16, 2023
1 parent 9a40630 commit 8511b9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/chatgpt/typings.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ type CreateConversationRequest struct {
ArkoseToken string `json:"arkose_token"`
HistoryAndTrainingDisabled bool `json:"history_and_training_disabled"`
AutoContinue bool `json:"auto_continue"`
Suggestions []string `json:"suggestions"`
}

func (c *CreateConversationRequest) AddMessage(role string, content string) {
Expand Down

0 comments on commit 8511b9a

Please sign in to comment.