mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
fix predibase tests
This commit is contained in:
parent
da494da12c
commit
19ab0614c4
1 changed files with 2 additions and 1 deletions
|
|
@ -510,10 +510,10 @@ def test_completion_azure_stream():
|
|||
async def test_completion_predibase_streaming(sync_mode):
|
||||
try:
|
||||
litellm.set_verbose = True
|
||||
|
||||
if sync_mode:
|
||||
response = completion(
|
||||
model="predibase/llama-3-8b-instruct",
|
||||
timeout=5,
|
||||
tenant_id="c4768f95",
|
||||
max_tokens=10,
|
||||
api_base="https://serving.app.predibase.com",
|
||||
|
|
@ -540,6 +540,7 @@ async def test_completion_predibase_streaming(sync_mode):
|
|||
response = await litellm.acompletion(
|
||||
model="predibase/llama-3-8b-instruct",
|
||||
tenant_id="c4768f95",
|
||||
timeout=5,
|
||||
max_tokens=10,
|
||||
api_base="https://serving.app.predibase.com",
|
||||
api_key=os.getenv("PREDIBASE_API_KEY"),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue