(state types.RuntimeState, backendName string)
| 47 | } |
| 48 | |
| 49 | func backendSelectable(state types.RuntimeState, backendName string) bool { |
| 50 | return BackendHealthOK(state.BackendHealth, backendName) |
| 51 | } |
| 52 | |
| 53 | func (r *RuleRouter) selectByRules(tenant config.TenantConfig, req types.AIRequest, state types.RuntimeState) (types.RouteDecision, error) { |
| 54 | _ = tenant |
no test coverage detected