Članci s tagom #taskrouter
-
Multi-provider AI with automatic failover: how TaskRouter works in PHP
TaskRouter: 10 named task roles, failover chains (paid → FREE on failure), a stateful circuit breaker in ai_provider_health, 6 provider adapters, and zero vendor lock-in in application code. Every AI call is one method; the router handles the rest.
-
Building a unified BYOK AI provider: one interface for Claude, OpenAI, DeepSeek, Groq, Gemini, and Ollama
Six AI providers, four wire formats, one interface, and a runtime failover chain that flips paid Claude to free Gemini when the bill spikes. The pattern I'm shipping in every product I build.