Changeset 0.18.0 (#79)
This commit is contained in:
@@ -219,6 +219,10 @@ type Persona struct {
|
||||
|
||||
// Loaded from persona_knowledge_bases, not stored in personas table
|
||||
KBIDs []string `json:"kb_ids,omitempty" db:"-"`
|
||||
|
||||
// Memory configuration (v0.18.0)
|
||||
MemoryEnabled bool `json:"memory_enabled" db:"memory_enabled"`
|
||||
MemoryExtractionPrompt *string `json:"memory_extraction_prompt,omitempty" db:"memory_extraction_prompt"`
|
||||
}
|
||||
|
||||
type PersonaPatch struct {
|
||||
@@ -235,6 +239,8 @@ type PersonaPatch struct {
|
||||
TopP *float64 `json:"top_p,omitempty"`
|
||||
IsActive *bool `json:"is_active,omitempty"`
|
||||
IsShared *bool `json:"is_shared,omitempty"`
|
||||
MemoryEnabled *bool `json:"memory_enabled,omitempty"`
|
||||
MemoryExtractionPrompt *string `json:"memory_extraction_prompt,omitempty"`
|
||||
}
|
||||
|
||||
// =========================================
|
||||
|
||||
Reference in New Issue
Block a user