starmen1265
|
9d738eeec2
|
feat(02-03): implement PromptLoader class
- PromptLoader loads and renders markdown templates
- get() returns raw template content (cached)
- render() substitutes {{variable}} placeholders
- Missing variables left as-is (safe substitution)
- Default template_dir points to prompts/ directory
All 10 tests pass.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-03-11 14:30:54 +08:00 |
|