mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
enhance: chat with LLM
This commit is contained in:
parent
e84ea98be9
commit
642e21a260
40 changed files with 544 additions and 250 deletions
|
@ -10,7 +10,7 @@ type ConfigBackup struct {
|
|||
Model
|
||||
|
||||
Name string `json:"name"`
|
||||
FilePath string `json:"file_path"`
|
||||
FilePath string `json:"filepath"`
|
||||
Content string `json:"content" gorm:"type:text"`
|
||||
}
|
||||
|
||||
|
@ -18,7 +18,7 @@ type ConfigBackupListItem struct {
|
|||
Model
|
||||
|
||||
Name string `json:"name"`
|
||||
FilePath string `json:"file_path"`
|
||||
FilePath string `json:"filepath"`
|
||||
}
|
||||
|
||||
func GetBackupList(path string) (configs []ConfigBackupListItem) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue