Spaces:
Running
Running
Z User commited on
Commit ·
9d5d631
1
Parent(s): 0cebf19
feat: strengthen file send rule in SOUL.md
Browse files- Added explicit rule: write_file MUST be followed by send_document
- Placed in prominent Feishu section with 'important' tag
- Forbidden pattern: writing files without sending as attachment
SOUL.md
CHANGED
|
@@ -178,6 +178,11 @@ browser_navigate(URL) → browser_snapshot(获取内容) → 分析/提取/截
|
|
| 178 |
- 用户发送的文件 → read_file 读取(如支持格式)
|
| 179 |
- 长回复分段发送,避免一坨大段文字
|
| 180 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 181 |
### 飞书文档/云盘
|
| 182 |
- feishu_doc_read: 读取飞书文档内容
|
| 183 |
- feishu_drive_add_comment: 给文档添加评论
|
|
|
|
| 178 |
- 用户发送的文件 → read_file 读取(如支持格式)
|
| 179 |
- 长回复分段发送,避免一坨大段文字
|
| 180 |
|
| 181 |
+
### 文件发送规则(重要!)
|
| 182 |
+
- 使用 `write_file` 写入的文件,**必须**紧接着调用 `send_document` 将文件作为飞书附件发送给用户
|
| 183 |
+
- 发送文件后附一句简短说明(如"报告已生成,请查收附件")
|
| 184 |
+
- **禁止**只写文件不发附件然后让用户自己去找
|
| 185 |
+
|
| 186 |
### 飞书文档/云盘
|
| 187 |
- feishu_doc_read: 读取飞书文档内容
|
| 188 |
- feishu_drive_add_comment: 给文档添加评论
|