fix: MEMORY.md — workflow 示例统一为 script_id(之前表格写反了)

This commit is contained in:
2026-07-13 10:49:22 +00:00
parent e1a056a4dd
commit 0a16b83997
+3 -3
View File
@@ -21,7 +21,7 @@
steps:
- id: my-step
name: 我的步骤
script: run # ✅ script: run,不是 script: run.py
script_id: run # ✅ script_id 优先
params:
input: $params.input_path # ✅ 使用 $params.xxx
```
@@ -30,8 +30,8 @@ steps:
| ❌ 错误 | ✅ 正确 |
|---------|--------|
| `script: run.py` | `script: run` |
| `script_id: run` | `script: run` |
| `script: run.py` | `script_id: run` |
| `script: run` | `script_id: run` |
| `params_mapping: {...}` | `params: {...}` |
| `$params.xxx` | `$params.xxx` |
| `$inputs.xxx` | `$params.xxx` |