Ishaan Jaff
|
047d1b1208
|
(Bug Fix) - Accurate token counting for /anthropic/ API Routes on LiteLLM Proxy (#8880)
* fix _create_anthropic_response_logging_payload
* fix - pass through don't create standard logging payload
* fix logged key hash
* test_init_kwargs_for_pass_through_endpoint_basic
* test_unit_test_anthropic_pass_through
* fix anthropic pass through logging handler
* test_stream_token_counting_anthropic_with_include_usage
* convert_str_chunk_to_generic_chunk
* _build_complete_streaming_response
* test_anthropic_basic_completion_with_headers
* test_anthropic_streaming_with_headers
* improve test for pass through token counting
|
2025-02-27 15:43:03 -08:00 |
|