fix: ChatGPT messages history for stream

This commit is contained in:
0xJacky 2023-12-15 21:52:41 +08:00
parent 2649b710bb
commit 6c8bfd267a
No known key found for this signature in database
GPG key ID: B6E4A6E4A561BAF0
3 changed files with 24 additions and 19 deletions

View file

@ -2,7 +2,6 @@ package model
type Stream struct {
Model
Path string `json:"path"`
Advanced bool `json:"advanced"`
ChatGPTMessages ChatGPTCompletionMessages `json:"chatgpt_messages" gorm:"serializer:json"`
Path string `json:"path"`
Advanced bool `json:"advanced"`
}