基于官方 nousresearch/hermes-agent 镜像的 CLI、Docker Compose 与 Web 管理界面,支持多实例部署;敏感配置与实例数据由 .gitignore 排除。 Co-authored-by: Cursor <cursoragent@cursor.com>
16 lines
770 B
HTML
16 lines
770 B
HTML
{% extends "base.html" %}
|
|
{% block title %}实例 {{ iid }} 配置 · Hermes Agent Web{% endblock %}
|
|
{% block body %}
|
|
<p><a href="{{ url_for('index') }}">← 返回列表</a></p>
|
|
<h2 style="margin-top:0;">实例 <code>{{ iid }}</code> · config.yaml</h2>
|
|
<p class="muted">路径:<code>data/config.yaml</code>。保存前会校验 YAML。若文件已存在,将备份为 <code>config.yaml.bak</code>。修改后请在列表页「重启」gateway。</p>
|
|
<form method="post">
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token }}">
|
|
<textarea class="code" name="config_body" spellcheck="false">{{ text }}</textarea>
|
|
<p>
|
|
<button type="submit" class="primary">保存</button>
|
|
<a href="{{ url_for('index') }}">取消</a>
|
|
</p>
|
|
</form>
|
|
{% endblock %}
|