Commit 8bd4a29
fix(memory): skills template None value causes empty content
- skills.yaml: use |default(0, true) to handle None values in Jinja2
template (default() only replaces undefined, not None)
- content.py: log and raise on template rendering failure instead of
silently swallowing the exception (results in empty content)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 0a960dc commit 8bd4a29
2 files changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
81 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
| |||
0 commit comments