forked from phoenix/litellm-mirror
fix error msg
This commit is contained in:
parent
ba4e1a7a0d
commit
76dec9a0e8
1 changed files with 1 additions and 1 deletions
|
@ -873,7 +873,7 @@ async def can_key_call_model(
|
|||
is False
|
||||
):
|
||||
raise ValueError(
|
||||
f"API Key not allowed to access model. List of allowed models={filtered_models}. Tried to access {model}"
|
||||
f"API Key not allowed to access model. This token can only access models={valid_token.models}. Tried to access {model}"
|
||||
)
|
||||
|
||||
valid_token.models = filtered_models
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue