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-04-10 10:14:42 +08:00
2026-04-10 11:28:02 +08:00
2026-04-08 17:39:02 +08:00
2026-04-08 17:39:02 +08:00
2026-03-27 21:05:32 +00:00
2026-04-08 01:36:42 +00:00
2026-04-08 01:36:56 +00:00
2026-01-06 15:23:50 +08:00
2026-04-08 01:36:42 +00:00
2025-09-15 13:06:33 +08:00
2025-10-10 23:41:16 +08:00
2025-09-15 13:06:33 +08:00
2026-04-09 09:36:16 +08:00
2026-04-09 09:36:16 +08:00
2026-04-06 11:30:21 +00:00
2026-04-07 01:02:06 +00:00
2026-04-09 16:27:38 +08:00
2026-03-27 21:05:32 +00:00
2026-04-07 05:57:22 +00:00
2026-04-08 01:36:42 +00:00
2026-03-27 21:05:32 +00:00
2026-04-08 01:36:42 +00:00
2026-04-02 05:07:32 +00:00
2026-04-10 10:14:42 +08:00
2026-04-02 05:07:32 +00:00
2026-04-09 09:36:16 +08:00
2026-04-08 17:39:02 +08:00
2026-03-27 07:56:31 +00:00
2026-04-09 09:36:16 +08:00
2026-04-08 01:36:42 +00:00
2026-04-10 14:21:06 +08:00
2026-04-10 17:05:48 +08:00
2026-04-09 09:36:16 +08:00
2025-09-10 01:54:26 +08:00
2026-03-27 21:05:32 +00:00
2026-04-01 02:20:56 +00:00
2026-04-08 01:36:42 +00:00
2026-04-07 12:11:51 +00:00