mirror of
https://github.com/langgenius/dify.git
synced 2026-05-13 08:57:28 +08:00
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
|
||
|---|---|---|
| .. | ||
| nodes | ||
| __init__.py | ||
| file_reference.py | ||
| human_input_compat.py | ||
| human_input_forms.py | ||
| node_factory.py | ||
| node_runtime.py | ||
| system_variables.py | ||
| template_rendering.py | ||
| variable_pool_initializer.py | ||
| variable_prefixes.py | ||
| workflow_entry.py | ||
| workflow_run_outputs.py | ||