{% extends "base.html" %} {% block title %}Models - ai-mcp ui{% endblock %} {% block content %}
可用 capability: {{ all_capabilities|join(', ') }};別名支援 tts / stt / asr。
共 {{ items|length }} 個 model
| endpoint | model_id | ctx | capabilities | 近3天調用 | 成功 | avg首字節(ms) | avg prompt | avg output | 操作 |
|---|---|---|---|---|---|---|---|---|---|
| {{ it.endpoint }} | {{ it.model_id }} | {{ it.context_length or '-' }} | {% for cap, cv in it.capabilities.items() %} {% if cv.value %}{{ cap }}{% endif %} {% if not cv.value and cv.source == 'probe' %}{{ cap }}=false{% endif %} {% endfor %} | {{ it.performance.get('call_count') if it.performance.get('call_count') is not none else '-' }} | {{ it.performance.get('success_count') if it.performance.get('success_count') is not none else '-' }} | {{ it.performance.get('avg_first_byte_ms')|round(0)|int if it.performance.get('avg_first_byte_ms') is not none else '-' }} | {{ it.performance.get('avg_prompt_tokens')|round(0)|int if it.performance.get('avg_prompt_tokens') is not none else '-' }} | {{ it.performance.get('avg_output_tokens')|round(0)|int if it.performance.get('avg_output_tokens') is not none else '-' }} |