Files
kandev/docs/plans/teamclaude-proxy-usage/task-04-litellm-usage.md
T

926 B

id, title, status, wave, depends_on, plan, requirements, acceptance_criteria, system_design
id title status wave depends_on plan requirements acceptance_criteria system_design
04-litellm-usage Add LiteLLM configured usage adapter planned 3
02-profile-proxy-configuration
plan.md
REQ-PLATFORM-PROVIDER-ERROR-RECOVERY-001
AC-PLATFORM-PROVIDER-ERROR-RECOVERY-001.3
AC-PLATFORM-PROVIDER-ERROR-RECOVERY-001.4
../../specs/platform/system-design/provider-error-recovery.md

Task 04: Add LiteLLM Configured Usage Adapter

Use an explicitly selected LiteLLM profile, configured admin/spend endpoint, and secret-store credential. Validate the deployment-specific response and map only bounded spend/budget information into the provider-usage contract. Missing admin access remains unavailable rather than being guessed from normal OpenAI-compatible inference responses.

Verification

cd apps/backend && go test -tags fts5 ./internal/agent/usage ./internal/backendapp