Packages
agentsea_gateway
0.1.0
AgentSea gateway: strategy-based routing, circuit breaking, and failover across LLM providers.
Current section
Files
Jump to
Current section
Files
lib/agent_sea/gateway/router/failover.ex
defmodule AgentSea.Gateway.Router.Failover do
@moduledoc "Tries candidates in their configured (priority) order."
@behaviour AgentSea.Gateway.Router
@impl true
def order(candidates, _ctx), do: candidates
end