Yansong Zhang
e04f00d29b
feat(api): add context injection and Jinja2 support to Agent V2 node
Agent V2 now fully covers all LLM node capabilities:
- Context injection: {{#context#}} placeholder replaced with upstream
knowledge retrieval results via _build_context_string()
- Jinja2 template rendering via _render_jinja2() with variable pool
- Multi-variable references across upstream nodes
Compatibility verified (7/7):
- T1: Context injection ({{#context#}})
- T2: Variable template resolution ({{#start.var#}})
- T3: Multi-upstream variable refs
- T4: Old Chat app with opening_statement
- T5: Old app sensitive_word_avoidance
- T6: Old app more_like_this
- T7: Old Completion app with variable substitution
Made-with: Cursor
2026-04-10 17:05:48 +08:00
..
2026-03-27 21:05:32 +00:00
2026-04-10 17:05:48 +08:00
2026-04-09 09:42:23 +08:00
2026-03-27 21:05:32 +00:00
2026-04-09 09:42:23 +08:00
2026-04-07 23:22:56 +00:00
2026-04-07 23:22:56 +00:00
2026-03-27 21:05:32 +00:00
2026-03-27 21:05:32 +00:00
2026-03-31 08:21:22 +00:00
2026-03-15 15:24:59 +08:00