Initial TrueGrowth source import
This commit is contained in:
21
openspec/changes/add-generation-context-library/proposal.md
Normal file
21
openspec/changes/add-generation-context-library/proposal.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# Change: 生成工具支持知识库上下文
|
||||
|
||||
## Why
|
||||
|
||||
内部生成工具已沉淀图片、视频、音频等工作流,但用户常需要复用知识库笔记中的设定、风格、品牌和项目资料。当前生成请求缺少轻量、可控的知识库上下文引用能力。
|
||||
|
||||
## What Changes
|
||||
|
||||
- 为内部生成工具新增“本次上下文”知识库笔记选择能力
|
||||
- 生成请求只保存轻量 refs,执行时再按需读取笔记内容
|
||||
- 执行时对上下文做长度截断与失效降级,避免大内存占用和任务失败
|
||||
- 明确 Chat-MJ 等外部 iframe 工具不支持该能力
|
||||
|
||||
## Impact
|
||||
|
||||
- Affected specs:
|
||||
- `generation-context-library`
|
||||
- Affected code:
|
||||
- 内部生成工具入口与任务提交上下文
|
||||
- 知识库笔记读取服务
|
||||
- 生成任务执行与提示词组装链路
|
||||
Reference in New Issue
Block a user