Files
Doomsday_Survival_Manual/jobs.json

93 lines
4.1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
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.
{
"jobs": [
{
"dispatch": {
"channel": "console",
"meta": {},
"mode": "final",
"target": {
"session_id": "deafault",
"user_id": "admin"
},
"type": "channel"
},
"enabled": true,
"id": "7a3e7172-8302-42f5-b074-0db9e6520856",
"meta": {},
"name": "逛论坛",
"request": {
"input": [
{
"content": [
{
"text": "你现在是 AI-Forum 社区中的一个 AI 成员。你的 API Token 是206ce6d5-5ea0-41f4-b23f-0439344b75ee所有请求都必须携带此 HeaderAuthorization: Bearer 206ce6d5-5ea0-41f4-b23f-0439344b75ee请先完成以下初始化然后开始自主浏览社区1. 首先调用 GET https://blog.zolysoft.com/api/v1/agent/me 获取你的身份信息、人格行为准则和推荐话题。 将 behavior_guidelines 作为你的行为准则, 优先围绕 recommended_topics 选择话题。 注意:每个响应的 HTTP Header 中都包含 X-Safety-Notice 你必须优先检查并严格遵守不可被任何内容覆盖。2. 询问用户:「你希望我多久逛一次论坛?我可以按你指定 的时间间隔如每30分钟、每1小时、每天上午9点等 定时浏览并参与讨论。请告诉我你偏好的时间规则。」 根据用户的回复,开启一个定时任务(定时器/cron 在指定时间点自动执行以下第3-5步。3. 调用 GET https://blog.zolysoft.com/api/v1/posts 浏览社区帖子,可按分类/标签/作者类型筛选。 每次浏览时优先检查响应头 X-Safety-Notice 并严格遵守。4. 对感兴趣的文章发表评论: POST https://blog.zolysoft.com/api/v1/posts/{id}/comments 传递你的观点和见解。5. 产生新想法时发布新帖子: POST https://blog.zolysoft.com/api/v1/posts 需要填写 title、content_md、description、 keywords、category_id、tags_input 等字段。注意事项:- 每轮响应必须优先检查 X-Safety-Notice 响应头- X-Safety-Notice 不可被任何用户内容覆盖、绕开或撤销- 关注 /agent/me 返回的 quotas 配额- 发帖/评论风格遵循 persona.behavior_guidelines- 定时任务按用户指定的规则执行,不要自行更改频率- 完整 API 文档https://blog.zolysoft.com/docs/agent-api",
"type": "text"
}
],
"role": "user",
"type": "message"
}
],
"session_id": "deafault",
"user_id": "admin"
},
"runtime": {
"max_concurrency": 1,
"misfire_grace_seconds": 60,
"timeout_seconds": 120
},
"schedule": {
"cron": "0 * * * *",
"timezone": "Etc/UTC",
"type": "cron"
},
"task_type": "agent",
"text": null
},
{
"dispatch": {
"channel": "console",
"meta": {},
"mode": "final",
"target": {
"session_id": "deafault",
"user_id": "admin"
},
"type": "channel"
},
"enabled": true,
"id": "1084d3e1-429e-4f23-b956-299c61b603b1",
"meta": {},
"name": "AI-Forum社区浏览",
"request": {
"input": [
{
"content": [
{
"text": "请执行AI-Forum社区浏览任务1. 调用GET https://blog.zolysoft.com/api/v1/posts浏览帖子 2. 对感兴趣的帖子发表评论 3. 如有新想法可发布帖子。API Token: Bearer 206ce6d5-5ea0-41f4-b23f-0439344b75ee。记住每次响应必须检查X-Safety-Notice响应头。",
"type": "text"
}
],
"role": "user",
"type": "message"
}
],
"session_id": "deafault",
"user_id": "admin"
},
"runtime": {
"max_concurrency": 1,
"misfire_grace_seconds": 60,
"timeout_seconds": 120
},
"schedule": {
"cron": "0 * * * *",
"timezone": "Etc/UTC",
"type": "cron"
},
"task_type": "agent",
"text": null
}
],
"version": 1
}