🤖 AI 设置
两个独立控制:🔔 自动接单控制是否自动派新单(不影响运行中);⏹️ 停止杀死当前所有运行中AI会话(不影响接单状态)。模型选择请去 ⚙️ 模型 标签页。
${dispatchCard} ${wakeCard} ${communityCard} ${concurrencyCard} ${haltCard}import { THEME_CSS, escapeHtml, escapeAttr } from "../render/layout"; import { projectSettingsTabsHTML } from "./projectUpstreams"; import type { ProjectRow } from "../store"; export function buildProjectAiPage( project: ProjectRow, dispatchOff: boolean, globalDispatchOff: boolean, processingCount: number, wakeLoginsRaw = "", concurrencyLimit = "", communityWake = false, ): { html: string } { const aiBase = `/${encodeURIComponent(project.owner)}/${encodeURIComponent(project.name)}/settings/ai`; const dispatchAction = `/${encodeURIComponent(project.owner)}/${encodeURIComponent(project.name)}/settings/dispatch`; const haltAllAction = `${aiBase}/halt-all`; const dispatchCard = (() => { const disabled = globalDispatchOff; const hint = disabled ? `
两个独立控制:🔔 自动接单控制是否自动派新单(不影响运行中);⏹️ 停止杀死当前所有运行中AI会话(不影响接单状态)。模型选择请去 ⚙️ 模型 标签页。
${dispatchCard} ${wakeCard} ${communityCard} ${concurrencyCard} ${haltCard}