Files
Memoh/assets/zh_getting-started_heartbeat.md.-PcsvFfb.js
2026-04-24 06:37:27 +00:00

2 lines
2.2 KiB
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import{_ as a,o as r,c as e,ag as o}from"./chunks/framework.CAXxHpAX.js";const b=JSON.parse('{"title":"心跳","description":"","frontmatter":{},"headers":[],"relativePath":"zh/getting-started/heartbeat.md","filePath":"zh/getting-started/heartbeat.md","lastUpdated":1777012567000}'),n={name:"zh/getting-started/heartbeat.md"};function s(d,t,h,l,i,g){return r(),e("div",null,[...t[0]||(t[0]=[o('<h1 id="心跳" tabindex="-1">心跳 <a class="header-anchor" href="#心跳" aria-label="Permalink to &quot;心跳&quot;"></a></h1><p><strong>Heartbeat</strong> 让机器人<strong>按固定间隔</strong>自己跑一轮,不依赖你一直发消息。适合巡检查状态、收数据、清盘、发提醒等。</p><h2 id="是什么" tabindex="-1">是什么 <a class="header-anchor" href="#是什么" aria-label="Permalink to &quot;是什么&quot;"></a></h2><p>到点触发一次,给机器人一句「例行走一圈」的语境,它可以用技能、MCP、工具。间隔用<strong>分钟</strong>计。</p><hr><h2 id="配置" tabindex="-1">配置 <a class="header-anchor" href="#配置" aria-label="Permalink to &quot;配置&quot;"></a></h2><p><strong>Heartbeat</strong> tab</p><table tabindex="0"><thead><tr><th>字段</th><th>说明</th></tr></thead><tbody><tr><td><strong>Enabled</strong></td><td>开/关</td></tr><tr><td><strong>Interval</strong></td><td>隔多少分钟,默认常是 30</td></tr><tr><td><strong>Model</strong></td><td>用哪一聊天模型跑;可与主 chat 不同</td></tr></tbody></table><hr><h2 id="日志" tabindex="-1">日志 <a class="header-anchor" href="#日志" aria-label="Permalink to &quot;日志&quot;"></a></h2><p>每次执行有记录:<strong>状态</strong>ok / alert / error)、<strong>时间</strong>、<strong>耗时</strong>、<strong>结果摘要</strong> 等。可按状态筛、刷新、清、翻页更多。</p><hr><h2 id="和机器人" tabindex="-1">和机器人 <a class="header-anchor" href="#和机器人" aria-label="Permalink to &quot;和机器人&quot;"></a></h2><ul><li>心跳轮会带专门系统向的提示,让模型做「例行」事。</li><li>技能、MCP 照常可用。</li><li>日志就是自主行为留下的线索。</li></ul>',14)])])}const _=a(n,[["render",s]]);export{b as __pageData,_ as default};