(tool_registry: &opencode_tool::ToolRegistry)
| 3141 | } |
| 3142 | |
| 3143 | pub async fn resolve_tools(tool_registry: &opencode_tool::ToolRegistry) -> Vec<ToolDefinition> { |
| 3144 | resolve_tools_with_mcp_registry(tool_registry, None).await |
| 3145 | } |
| 3146 | |
| 3147 | pub fn max_steps_for_agent(agent_steps: Option<u32>) -> u32 { |
| 3148 | agent_steps.unwrap_or(MAX_STEPS) |
nothing calls this directly
no test coverage detected