(def: &AgentDefinition)
| 27 | } |
| 28 | |
| 29 | fn has_defined_permissions(def: &AgentDefinition) -> bool { |
| 30 | !def.permissions.allow.is_empty() || !def.permissions.deny.is_empty() |
| 31 | } |
| 32 | |
| 33 | fn apply_step_budget(opts: &mut SessionOptions, def: &AgentDefinition) { |
| 34 | if opts.max_tool_rounds.is_none() { |
no test coverage detected