{% set sidx = loop.index0 %} {% set schema = step.config_schema | default({}) %}
{% if step.content_md %}
{{ step.content_md | safe }}
{% endif %}
▶ Demo Output
{% if schema.demo_output %}
{{ schema.demo_output | tojson(indent=2) }}
{% elif schema.demo_url %}

This demo runs against live ICDEV infrastructure.

▶ Open Live Demo
{% else %}
# Example: Basic LLM call with context
from tools.llm.router import LLMRouter

router = LLMRouter()
provider = router.get_provider_for_function("chat")
response = provider.chat(messages=[
    {"role": "system", "content": "You are an AI assistant."},
    {"role": "user", "content": "What is a language model?"}
])
print(response)
# → A language model is a neural network trained to predict...
{% endif %}