{% set sidx = loop.index0 %} {% set schema = step.config_schema | default({}) %}
{{ schema.demo_output | tojson(indent=2) }}
{% elif schema.demo_url %}
This demo runs against live ICDEV infrastructure.
▶ Open Live Demo
# 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 %}