🎭 AI 角色管理
配置参与博弈的 AI 角色及其人设与模型选择
⚠️ 以下角色的 Provider/模型组合无效,请编辑后保存:{{invalidRoles.map(r=>r.name).join('、')}}
✅❌{{testResultMsg}}
{{role.name[0]}}
{{role.name}}
{{getModelName(role.providerId, role.modelId)}}
Provider{{getProviderName(role.providerId)}}
模型{{getModelName(role.providerId, role.modelId)}}
温度{{role.temperature}}
{{role.prompt}}
⚙️ 规则配置
选择预设方案或自定义博弈参数
阶段开关
说明:当“决策行为可见/惩罚行为可见”关闭时,该行为仅对行为发起者(及被惩罚者)可见,其他 AI 不可见。
已预设:{{(roundRulePlan||[]).filter((x,i)=>i>0&&x).length}} / {{currentRuleSet.rounds}} 回合
收益公式:
({{currentRuleSet.contributionCap}} - 投入) + (公共池总额 × {{currentRuleSet.multiplier}} ÷ 参与人数)
第 {{game.currentRound}} / {{currentRuleSet.rounds}} 轮
{{phaseLabel}}
🤔 {{game.processingAI}} 思考中…
决策{{game.roundRule.decisionVisible ? '公开' : '隐藏'}} · 惩罚{{game.roundRule.punishVisible ? '公开' : '隐藏'}}
角色配置待修复:{{invalidRoles.length}} 个
参与者
{{role.name[0]}}
{{role.name}}
{{getTotal(role.id)}} 分
{{game.status==='idle'?'点击"开始游戏"开始博弈实验 🚀':'暂无消息'}}
{{msg.content}}
📊 第 {{msg.round}} 轮结算
{{getRoleName(msg.actorId)[0]}}
{{getRoleName(msg.actorId)}}
🔒 → {{getRoleName(msg.targetId)}}
🤝 承诺
✅ 决策
⚡ 惩罚 → {{getRoleName(msg.targetId)}}
R{{msg.round}}
{{msg.content}}
本轮决策
等待中…
{{getRoleName(d.roleId)[0]}}
{{getRoleName(d.roleId)}}
投入 {{d.contribution}} / {{(game.roundRule||currentRuleSet).contributionCap}}
总投入{{currentRoundSummary.totalContrib}}
公共池 (×{{(game.roundRule||currentRuleSet).multiplier}}){{currentRoundSummary.poolValue.toFixed(1)}}
人均分成{{currentRoundSummary.perPerson.toFixed(1)}}
累计排行
{{i+1}}
{{getRoleName(s.roleId)[0]}}
{{getRoleName(s.roleId)}}
{{s.total.toFixed(1)}}
📊 统计分析
切换 AI 视角:
{{getRoleName(selectedAIView)}} 的完整视角
📋 每轮决策记录
| 轮次 | 投入 | 承诺 | 违约 | 惩罚 | 本轮得分 | 累计 |
|---|---|---|---|---|---|---|
| R{{row.round}} | {{row.contribution}} | {{row.promise||'—'}} | {{row.brokePromise?'是':'—'}} | {{row.punished||'—'}} | {{row.delta>=0?'+':''}}{{row.delta.toFixed(1)}} | {{row.total.toFixed(1)}} |
💬 沟通记录 (该AI可见的)
{{getRoleName(msg.actorId)}}
🔒→{{getRoleName(msg.targetId)}}
✅ 决策
⚡ 惩罚→{{getRoleName(msg.targetId)}}
🤝 承诺
📢 公开
R{{msg.round}}
{{msg.content}}
暂无记录
🔍 当前轮次发送给 LLM 的完整上下文
以下是与实际发送给AI模型的系统提示词完全一致的内容:
{{getAIViewFullContext(selectedAIView)}}
📚 游戏历史
📭
暂无游戏历史记录
完成一局游戏后会自动保存
{{new Date(game.timestamp).toLocaleString()}}
{{game.roleCount}} 位角色 · {{game.rounds}} 轮 · ID: {{game.id.slice(0, 16)}}...