1.9 KiB
1.9 KiB
ARR1 历史文档 — ARR 数据处理 Agent Profile v3 手工配置
ARR2.0 不使用此配置;仅保留为历史迁移证据。
1. 应用设置
- “系统提示词”:粘贴
prompts/arr_opera_daily_main_agent_prompt.md的全部内容。 - 展开“高级设置”。
- 在“输出 Schema”区域点击“导入 JSON Schema”,粘贴
prompts/arr_opera_daily_profile_output.schema.json的全部内容并应用。 - 确认输出 Schema 共 7 个必填字段,并且:
processor_result类型为objectfiles类型为objectbusiness_date类型为string
- 打开“启用外部 API”。
- 点击“保存草稿”。
不要把 prompts/arr_opera_daily_agent_result.schema.json 导入 Profile 编辑器。该文件是
ARR runtime 使用的完整嵌套校验契约,SuperAgent 当前导入器不会解析其中的 $ref,会错误地把
processor_result 降成 string。
2. 发布
- 进入“应用发布”。
- 先运行平台检查。
- 检查通过后发布生产版本;预期版本号为
v3。 - 发布后确认“开放 API”已开启且页面显示 endpoint。
- 在
Ops > Agent Profile Open API中把本 Profile 绑定到现有外部应用。
不要把 OSS、Agent API 或 HMAC 密钥粘贴进提示词、Schema 或调试消息。
3. 临时 ARR 回调入口
联调期间的受限 HTTPS 回调地址:
https://arr.example.com/api/integrations/super-agent/results
该地址只在本地 ARR 与临时隧道继续运行时有效,并且只允许上述路径的 POST。它不应粘贴进
Profile 提示词或输出 Schema;应由 SuperAgent 的受信 runtime adapter / 后置回写工具使用。
当前平台 Profile UI 没有原生 post-run hook。发布 v3 和绑定 Open API 可以打通程序调用, 但在安装/配置 runtime 回写 adapter 之前,仍不能把一次 Agent 成功运行视为“已回写 ARR”。