fix: 修复admin.js语法错误

This commit is contained in:
2026-04-27 14:41:06 +08:00
parent 6452e4c976
commit 25dff98583

View File

@@ -512,21 +512,8 @@ function showAddAgentModal() {
<button class="form-submit" onclick="saveAgent()">保存</button>
`);
}
</select>
</div>
<div class="form-group">
<label class="form-label">描述</label>
<input type="text" class="form-input" id="agentDescription" placeholder="智能体描述">
</div>
<div class="form-group">
<label class="form-label">System Prompt</label>
<textarea class="form-textarea" id="agentPrompt" placeholder="系统提示词"></textarea>
</div>
<div class="form-group">
<label class="form-label">LLM配置</label>
<select class="form-select" id="agentLLM">
<option value="">使用默认</option>
${llmConfigs.map(c => `<option value="${c.id}">${c.name}</option>`).join('')}
function showEditAgentModal(agentId) {
</select>
</div>
<div class="form-group">