fix: MEMORY.md — workflow 示例统一为 script_id(之前表格写反了)
This commit is contained in:
@@ -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` |
|
||||
|
||||
Reference in New Issue
Block a user