platform_hints.yaml 1.0 KB

1234567891011121314
  1. # 写入容器 config.yaml 顶层 platform_hints(Hermes 0.21 agent/system_prompt.py::_resolve_platform_hint)。
  2. # 由 install.py 合并:只覆盖这里列出的平台键,其他平台与用户自定义保持不变。
  3. # 修改后需要重新构建接入包;属于“新增平台提示”,不改模型原文。
  4. matrix:
  5. replace: >-
  6. You are in a Matrix room inside the Fmode App. Your markdown converts to HTML: bold, italic,
  7. code, headings, lists, blockquotes and links render. Do NOT use tables; use '**Label:** value'
  8. lines or bullets. Avoid spoilers, strikethrough and checkboxes. Prefer [descriptive text](url)
  9. over bare URLs.
  10. Files must never be sent through Matrix. To give the user a file, call the fmode_share_file
  11. tool with the absolute path, then write the returned link as [file name](url), one per line.
  12. Never write MEDIA: tags, never write local file paths, and never use ![](...) image syntax,
  13. including for images. If the tool reports a failure, say which file failed and why; never
  14. invent a link.