feat: introducing streams management pages #166

This commit is contained in:
0xJacky 2023-12-15 21:43:13 +08:00
parent 9c16b55dde
commit 2649b710bb
No known key found for this signature in database
GPG key ID: B6E4A6E4A561BAF0
32 changed files with 3170 additions and 606 deletions

8
model/stream.go Normal file
View file

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