hermes-config.yaml 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. model:
  2. default: deepseek-v4-flash
  3. provider: custom
  4. base_url: https://api.fmode.cn/v1
  5. api_key: "SK-REDACTED"
  6. database:
  7. journal_mode: wal
  8. agent:
  9. max_turns: 150
  10. verify_on_stop: false
  11. session_reset:
  12. mode: none
  13. memory_enabled: true
  14. user_profile_enabled: true
  15. terminal:
  16. backend: local
  17. display:
  18. tool_progress: all
  19. dashboard:
  20. theme: cyberpunk
  21. delegation:
  22. child_timeout_seconds: 3600
  23. timezone: Asia/Shanghai
  24. approvals:
  25. mode: 'off'
  26. destructive_slash_confirm: false
  27. kanban:
  28. dispatch_interval_seconds: 15
  29. max_in_progress: 3
  30. max_in_progress_per_profile: 1
  31. dispatch_tick_seconds: 15
  32. max_spawn: 2
  33. max_retries_per_task: 2
  34. task_ttl_seconds: 1800
  35. onboarding:
  36. seen:
  37. busy_input_prompt: true
  38. _config_version: 39
  39. platforms:
  40. wecom:
  41. enabled: true
  42. extra:
  43. bot_id: aibwUXKd36GSU53koiTkmy8rk5Ohn5-YIjD
  44. secret: vd4s4dnpkaZqrjT1YI6BOjgtvKAc04FcYXUWsJBSynS
  45. websocket_url: wss://openws.work.weixin.qq.com
  46. dm_policy: open
  47. group_policy: open
  48. home_channel:
  49. platform: wecom
  50. chat_id: ''
  51. email:
  52. enabled: true
  53. plugins:
  54. enabled: []
  55. language: zh
  56. locale: zh-CN
  57. system_prompt: 你是一个中文AI助手,所有回复必须使用简体中文。所有工具提示、错误信息、确认信息都必须是中文。与用户对话全程使用中文,不允许使用英文作为日常沟通语言。
  58. # ── Security ──────────────────────────────────────────────────────────
  59. # Secret redaction is ON by default — strings that look like API keys,
  60. # tokens, and passwords are masked in tool output, logs, and chat
  61. # responses before the model or user ever sees them. Set redact_secrets
  62. # to false to disable (e.g. when developing the redactor itself).
  63. # tirith pre-exec scanning is enabled by default when the tirith binary
  64. # is available. Configure via security.tirith_* keys or env vars
  65. # (TIRITH_ENABLED, TIRITH_BIN, TIRITH_TIMEOUT, TIRITH_FAIL_OPEN).
  66. #
  67. # security:
  68. # redact_secrets: true
  69. # tirith_enabled: true
  70. # tirith_path: "tirith"
  71. # tirith_timeout: 5
  72. # tirith_fail_open: true
  73. # ── Fallback Model ────────────────────────────────────────────────────
  74. # Automatic provider failover when primary is unavailable.
  75. # Uncomment and configure to enable. Triggers on rate limits (429),
  76. # overload (529), service errors (503), or connection failures.
  77. #
  78. # Supported providers:
  79. # openrouter (OPENROUTER_API_KEY) — routes to any model
  80. # openai-codex (OAuth — hermes auth) — OpenAI Codex
  81. # nous (OAuth — hermes auth) — Nous Portal
  82. # zai (ZAI_API_KEY) — Z.AI / GLM
  83. # kimi-coding (KIMI_API_KEY) — Kimi / Moonshot
  84. # kimi-coding-cn (KIMI_CN_API_KEY) — Kimi / Moonshot (China)
  85. # minimax (MINIMAX_API_KEY) — MiniMax
  86. # minimax-cn (MINIMAX_CN_API_KEY) — MiniMax (China)
  87. # bedrock (AWS IAM / boto3) — AWS Bedrock (Converse API)
  88. #
  89. # For custom OpenAI-compatible endpoints, add base_url and key_env.
  90. #
  91. # fallback_model:
  92. # provider: openrouter
  93. # model: anthropic/claude-sonnet-4