(flags: Partial<RuntimeFlags.Info> = {})
| 17 | import { Truncate } from "../../src/tool/truncate" |
| 18 | |
| 19 | const agentLayer = (flags: Partial<RuntimeFlags.Info> = {}) => |
| 20 | LayerNode.compile( |
| 21 | LayerNode.group([Agent.node, Plugin.node, Provider.node, Auth.node, Config.node, Skill.node, RuntimeFlags.node]), |
| 22 | [[RuntimeFlags.node, RuntimeFlags.layer(flags)]], |
| 23 | ) |
| 24 | |
| 25 | const it = testEffect(agentLayer()) |
| 26 |