litellm-mirror/litellm/proxy/pass_through_endpoints
Ishaan Jaff d5b5d909de (Feat) Allow passing litellm_metadata to pass through endpoints + Add e2e tests for /anthropic/ usage tracking (#6864)
* allow passing _litellm_metadata in pass through endpoints

* fix _create_anthropic_response_logging_payload

* include litellm_call_id in logging

* add e2e testing for anthropic spend logs

* add testing for spend logs payload

* add example with anthropic python SDK
2024-11-21 21:41:05 -08:00
..
llm_provider_handlers (Feat) Allow passing litellm_metadata to pass through endpoints + Add e2e tests for /anthropic/ usage tracking (#6864) 2024-11-21 21:41:05 -08:00
llm_passthrough_endpoints.py (feat) Add usage tracking for streaming /anthropic passthrough routes (#6842) 2024-11-21 19:36:03 -08:00
pass_through_endpoints.py (Feat) Allow passing litellm_metadata to pass through endpoints + Add e2e tests for /anthropic/ usage tracking (#6864) 2024-11-21 21:41:05 -08:00
streaming_handler.py (feat) Add usage tracking for streaming /anthropic passthrough routes (#6842) 2024-11-21 19:36:03 -08:00
success_handler.py (feat) Add usage tracking for streaming /anthropic passthrough routes (#6842) 2024-11-21 19:36:03 -08:00
types.py (feat) add usage / cost tracking for Anthropic passthrough routes (#6835) 2024-11-20 17:25:12 -08:00