Agent Task Node
调用 Agent 执行任务的节点。
配置字段
| 字段 | 类型 | 说明 |
|---|---|---|
agentId | string | Agent ID |
systemPrompt | string | 系统提示词 |
tools | List<string> | 工具列表 |
model | string | 模型 |
temperature | Double | 温度 |
maxTokens | Integer | 最大 Token 数 |
memory | Boolean | 是否开启记忆 |
outputSchema | Map<String, Object> | 输出 schema |
示例
- id: agent_review
name: Agent 复核
type: AGENT_TASK
config:
_nodeConfigType: AGENT_TASK
agentId: risk-agent
systemPrompt: 你是一个风控复核助手
tools:
- query_transaction
model: gpt-4o
temperature: 0.5
maxTokens: 2048
memory: false