mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 18:35:51 +02:00
17 lines
653 B
Go
17 lines
653 B
Go
package config
|
|
|
|
import (
|
|
"github.com/sashabaranov/go-openai"
|
|
"time"
|
|
)
|
|
|
|
type Config struct {
|
|
Name string `json:"name"`
|
|
Content string `json:"content"`
|
|
ChatGPTMessages []openai.ChatCompletionMessage `json:"chatgpt_messages,omitempty"`
|
|
FilePath string `json:"filepath,omitempty"`
|
|
ModifiedAt time.Time `json:"modified_at"`
|
|
Size int64 `json:"size,omitempty"`
|
|
IsDir bool `json:"is_dir"`
|
|
Enabled bool `json:"enabled"`
|
|
}
|