{% extends "base.html" %} {% block title %}模型预设管理 - Amrita Dashboard{% endblock %} {% block topbar_title %}模型预设管理{% endblock %} {% block extra_css %} {% endblock %} {% block content %}

模型预设管理

{% for model in models %} {% set tc = model.thinking_config or {} %} {% endfor %}
预设名称模型协议默认操作
{{ model.name }} {{ model.model }} {{ model.protocol }} {% if model.name == current_default %}默认{% else %}{% endif %}
API 密钥
{{ model.api_key[:20] ~ '…' if model.api_key and model.api_key|length > 20 else (model.api_key or '未设置') }}
Base URL
{{ model.base_url or '默认' }}
Top K
{{ model.config.top_k if model.config else 50 }}
Top P
{{ model.config.top_p if model.config else 0.8 }}
Temperature
{{ model.config.temperature if model.config else 0.6 }}
流式响应
{{ '✓' if model.config and model.config.stream else '✗' }}
多模态
{{ '✓' if model.config and model.config.multimodal else '✗' }}
思考类型
{{ tc.thinking_type or '—' }}
enable_thinking
{{ tc.enable_thinking if tc.enable_thinking is not none else '—' }}
thinking_effort
{{ tc.thinking_effort or '—' }}
content_mode
{{ tc.content_mode or 'optional' }}
{% endblock %} {% block scripts %} {% endblock %}