mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-16 04:29:31 +00:00
Add api_base parameter to count tokens request
This commit is contained in:
parent
4e53ae98a7
commit
74590f0c91
1 changed files with 1 additions and 0 deletions
|
|
@ -68,6 +68,7 @@ class AnthropicTokenCounter(BaseTokenCounter):
|
|||
model=model_to_use,
|
||||
messages=messages,
|
||||
api_key=api_key,
|
||||
api_base=litellm_params.get("api_base", None)
|
||||
tools=tools,
|
||||
system=system,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue