{% extends "ewoooc_base.html" %} {% block title %}Agent 編排矩陣{% endblock %} {% block ewooo_content %}
| Agent | 呼叫 | 成本 | 本地 Ollama | 付費 LLM | MCP 編排 | RAG 命中 | 錯誤率 | 耗時 |
|---|---|---|---|---|---|---|---|---|
| {{ ag.label }} {{ ag.desc }} | {% if ag.calls > 0 %} {{ "{:,}".format(ag.calls) }} {{ "{:,}".format(ag.tokens) }} tk {% else %} — {% endif %} | {% if ag.calls > 0 %} ${{ "%.2f"|format(ag.cost) }} {% else %} — {% endif %} | {% if ag.calls > 0 %} {{ "%.0f"|format(ag.ollama_pct) }}% GCP-A {{ ag.ollama_gcp_a }} · GCP-B {{ ag.ollama_gcp_b }} · 111 {{ ag.ollama_111 }} {% else %} — {% endif %} | {% if ag.calls > 0 %} {{ "%.0f"|format(ag.paid_pct) }}% Gemini {{ ag.gemini }}{% if ag.other_paid %} · 其他 {{ ag.other_paid }}{% endif %} {% else %} — {% endif %} | {% if ag.calls > 0 %} {{ "%.1f"|format(ag.mcp_rate) }}% {{ ag.mcp_calls }} request_id {% else %} — {% endif %} | {% if ag.calls > 0 %} {{ "%.1f"|format(ag.rag_rate) }}% {{ ag.rag_hits }} hits {% else %} — {% endif %} | {% if ag.calls > 0 %} {{ "%.1f"|format(ag.error_rate) }}% {{ ag.errors }} 次 {% else %} — {% endif %} | {% if ag.calls > 0 %}{{ ag.avg_ms }} ms{% else %}—{% endif %} |
| MCP Server | 呼叫端 (caller) | tool 呼叫 | cache 命中 | cache 率 | 成本 |
|---|---|---|---|---|---|
{{ m.server }} |
{{ m.caller }} |
{{ "{:,}".format(m.calls) }} | {{ m.cache_hits }} | {{ "%.0f"|format(m.cache_rate) }}% | ${{ "%.4f"|format(m.cost) }} |
Operation Ollama-First v5.0 / Phase 46 — Agent 編排矩陣 (8 表跨 JOIN:ai_calls × mcp_calls × rag_query_log × ai_insights × learning_episodes × incidents × heal_logs × host_health_probes)