feat: add description field to Memory & Skills segments for better context transparency

This commit is contained in:
carry
2026-06-07 13:49:58 +08:00
parent 34b3f44856
commit 241156853c
4 changed files with 16 additions and 0 deletions
+2
View File
@@ -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
}