feat: add description field to Memory & Skills segments for better context transparency
This commit is contained in:
@@ -52,6 +52,7 @@ export interface SystemPromptSegment {
|
||||
|
||||
export interface MemorySegment {
|
||||
kind: 'memory'
|
||||
description?: string // 简短解释 memory 的作用
|
||||
items: MemoryItem[]
|
||||
collapsed: boolean
|
||||
}
|
||||
@@ -63,6 +64,7 @@ export interface MemoryItem {
|
||||
|
||||
export interface SkillSegment {
|
||||
kind: 'skills'
|
||||
description?: string // 简短解释 skills 是什么
|
||||
items: SkillItem[]
|
||||
collapsed: boolean
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user