Support truthful readiness for LiteLLM-only routes #79

Closed
opened 2026-08-05 00:59:30 +00:00 by coilyco-ops · 0 comments
Owner

Parent: coilysiren/inbox#329

Companion gate: coilyco-bridge/agentic-os-hardware#83

Outcome

Agent Proxy treats a governed LiteLLM route with direct: null as a valid hosted-provider route. Its readiness endpoint verifies the LiteLLM auth, health, and model catalog without pretending that an unrelated Ollama target proves the hosted provider is ready.

Scope

  • Preserve the current local-model readiness behavior for routes with Ollama readiness targets.
  • In LiteLLM mode, allow a route with no direct or readiness targets when the configured OpenAI-compatible upstream resolves through LiteLLM.
  • Check LiteLLM authentication, /health/readiness, and the logical route in /v1/models.
  • Skip Ollama version and catalog checks for a LiteLLM-only route.
  • Preserve fail-closed behavior in direct mode.
  • Add focused tests and update the readiness documentation.

Acceptance

  • A direct: null LiteLLM-only fixture reports ready when LiteLLM auth, health, and catalog checks pass.
  • The fixture performs no Ollama requests.
  • The same route reports not ready in direct mode.
  • Existing local-model readiness tests remain green.
  • No provider credentials, deployment mutation, or live inference belongs in this issue.
Parent: coilysiren/inbox#329 Companion gate: coilyco-bridge/agentic-os-hardware#83 ## Outcome Agent Proxy treats a governed LiteLLM route with `direct: null` as a valid hosted-provider route. Its readiness endpoint verifies the LiteLLM auth, health, and model catalog without pretending that an unrelated Ollama target proves the hosted provider is ready. ## Scope * Preserve the current local-model readiness behavior for routes with Ollama readiness targets. * In LiteLLM mode, allow a route with no direct or readiness targets when the configured OpenAI-compatible upstream resolves through LiteLLM. * Check LiteLLM authentication, `/health/readiness`, and the logical route in `/v1/models`. * Skip Ollama version and catalog checks for a LiteLLM-only route. * Preserve fail-closed behavior in direct mode. * Add focused tests and update the readiness documentation. ## Acceptance * A `direct: null` LiteLLM-only fixture reports ready when LiteLLM auth, health, and catalog checks pass. * The fixture performs no Ollama requests. * The same route reports not ready in direct mode. * Existing local-model readiness tests remain green. * No provider credentials, deployment mutation, or live inference belongs in this issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
coilyco-flight-deck/agent-proxy#79
No description provided.