mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-25 07:00:48 +09:00
feat: user settings & history
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package settings
|
||||
|
||||
const (
|
||||
DefaultMaxContextLoadTime = 24 * 60
|
||||
DefaultLanguage = "Same as user input"
|
||||
)
|
||||
|
||||
type Settings struct {
|
||||
MaxContextLoadTime int `json:"max_context_load_time"`
|
||||
Language string `json:"language"`
|
||||
}
|
||||
|
||||
type UpsertRequest struct {
|
||||
MaxContextLoadTime *int `json:"max_context_load_time,omitempty"`
|
||||
Language string `json:"language,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user