fix: remove wechatagent-specific references, make fully generic

This commit is contained in:
root
2026-05-31 17:46:31 +08:00
parent cf8f68533c
commit 8b055a2bbc
3 changed files with 14 additions and 9 deletions

View File

@ -8,9 +8,7 @@ description: 调用小说家 agent 进行小说风格续写。自动复制小说
通过 Gateway API 同步调用 `novelist` agent 进行小说创作。
**自动将小说原文复制到 novelist 工作区**,让 novelist 能在本地直接读取原文正文,而不是仅靠标题推断。
## 脚本位置
`scripts/ask_novelist.py`
适用于任意调用方 Agent(如聊天机器人、工作流引擎等)通过 Gateway 调用 novelist。
## 用法

View File

@ -30,7 +30,6 @@ def ensure_novel_in_workspace(novel_path: str = None) -> str | None:
if not novel_path or not os.path.isfile(novel_path):
# Try common default paths
candidates = [
"/home/program/wechat-workspace/穿越未来之男人不好当.txt",
"./novel.txt",
os.path.expanduser("~/novel.txt"),
]