管理 AI 模型供应商、模型配置和连接测试
| 模型 | 能力 | 状态 | 价格 | 调用量 | 操作 |
|---|---|---|---|---|---|
|
{model.name}
{model.isDefault && ⭐ 默认模型}
|
{(model.capabilities || []).map(cap => (
{capabilityLabels[cap] || cap}
))}
|
{model.isEnabled ? '启用' : '禁用'} | ¥{model.pricePerMillionTokens?.toFixed(4) || '0.0000'}/M | {formatNumber(model.totalCalls || 0)} |
{/* Test Connection Button */}
{/* Test Result Popover (only for the tested model) */}
{testResult && testResult.modelId === model.id && (
{testResult.success ? '✓ 成功' : '✗ 失败'}
{testResult.latency_ms && ` (${testResult.latency_ms}ms)`}
)}
{!model.isDefault && model.isEnabled && (
)}
{testResult.message}
|
暂无模型供应商,点击上方按钮添加
选择「Auto 自动」时,系统依据用户输入(如含「画图 / 视频」)自动选用对应能力的默认模型;文本类能力在未单独配置时回退到全局默认模型。