Ishaan Jaffer
e8461b5b97
style: run black formatter on files from main merge
2026-04-17 13:02:59 -07:00
Seokjun Yang
d3afaf613d
Update tests/litellm_utils_tests/test_bedrock_token_counter.py
...
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-03-20 22:21:22 +09:00
Seokjun Yang
eb733702fc
Update tests/litellm_utils_tests/test_bedrock_token_counter.py
...
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-03-20 22:21:15 +09:00
stias
bc4608e718
fix(bedrock): respect api_base and aws_bedrock_runtime_endpoint in count_tokens endpoint
...
The /v1/messages/count_tokens endpoint was hardcoding the Bedrock runtime
URL, ignoring api_base and aws_bedrock_runtime_endpoint settings. This
aligns it with invoke/converse handlers by using the existing
get_runtime_endpoint() method for consistent endpoint resolution.
Signed-off-by: stias <seokjun.yang@mycraft.kr>
2026-03-20 17:58:20 +09:00
Ishaan Jaff
ddebdd47bc
[Feat] Add Support for Claude Code Max/OAuth 2 on LiteLLM AI Gateway ( #19453 )
...
* fix count_tokens_with_anthropic_api
* remove outdated file
* fix ANTHROPIC_TOKEN_COUNTING_BETA_VERSION
* refactor: get_token_counter
* init test suite for token counter
* init token counters
* fix: fix pyrightI
* fix Code QA issues
* feat: add OAUTH handling ant
* feat: Oauth handling Ant
* test anthopic common utils
* fix code QA
* docs
2026-01-20 17:21:17 -08:00