mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
test: testing fixes
This commit is contained in:
parent
9cf5ab468f
commit
edbf97adf2
4 changed files with 9 additions and 3 deletions
|
@ -17,10 +17,10 @@ model_alias_map = {
|
|||
"good-model": "anyscale/meta-llama/Llama-2-7b-chat-hf"
|
||||
}
|
||||
|
||||
litellm.model_alias_map = model_alias_map
|
||||
|
||||
def test_model_alias_map():
|
||||
try:
|
||||
litellm.model_alias_map = model_alias_map
|
||||
response = completion(
|
||||
"good-model",
|
||||
messages=[{"role": "user", "content": "Hey, how's it going?"}],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue