{% extends 'base.html' %} {% block title %}Messages{% endblock %} {% block content %}

Ollambda Messages

{% if messages %}
{% for msg in messages %}
{{ msg.role }} {{ msg.created_at.strftime('%Y-%m-%d %H:%M:%S') }} {% if msg.model %} {{ msg.model }} {% endif %}
{% if msg.content %} {% if msg.role == "system" %}
Content
{{ msg.content }}
{% else %}
Content
{{ msg.content }}
{% endif %} {% endif %} {% if msg.thinking %}
Thinking
{{ msg.thinking }}
{% endif %} {% if msg.tool_calls %}
{% for tc in msg.tool_calls %}
tool: {{ tc.name }}
{{ tc.arguments | tojson }}
{% endfor %}
{% endif %}
{% endfor %}
{% else %}
No messages yet.
{% endif %} {% endblock %}