feat(web): use generate sdk

This commit is contained in:
Acbox
2026-02-11 15:23:47 +08:00
parent ca86a8d1c3
commit 1f30e666e0
48 changed files with 1670 additions and 722 deletions
+6 -6
View File
@@ -6,12 +6,12 @@ const (
)
type Settings struct {
ChatModelID string `json:"chat_model_id"`
MemoryModelID string `json:"memory_model_id"`
EmbeddingModelID string `json:"embedding_model_id"`
MaxContextLoadTime int `json:"max_context_load_time"`
Language string `json:"language"`
AllowGuest bool `json:"allow_guest"`
ChatModelID string `json:"chat_model_id" validate:"required"`
MemoryModelID string `json:"memory_model_id" validate:"required"`
EmbeddingModelID string `json:"embedding_model_id" validate:"required"`
MaxContextLoadTime int `json:"max_context_load_time" validate:"required"`
Language string `json:"language" validate:"required"`
AllowGuest bool `json:"allow_guest" validate:"required"`
}
type UpsertRequest struct {