forked from phoenix/litellm-mirror
shorten predibase streaming test
This commit is contained in:
parent
b94ba48ccc
commit
3110abc832
1 changed files with 2 additions and 0 deletions
|
@ -515,6 +515,7 @@ async def test_completion_predibase_streaming(sync_mode):
|
||||||
response = completion(
|
response = completion(
|
||||||
model="predibase/llama-3-8b-instruct",
|
model="predibase/llama-3-8b-instruct",
|
||||||
tenant_id="c4768f95",
|
tenant_id="c4768f95",
|
||||||
|
max_tokens=10,
|
||||||
api_base="https://serving.app.predibase.com",
|
api_base="https://serving.app.predibase.com",
|
||||||
api_key=os.getenv("PREDIBASE_API_KEY"),
|
api_key=os.getenv("PREDIBASE_API_KEY"),
|
||||||
messages=[{"role": "user", "content": "What is the meaning of life?"}],
|
messages=[{"role": "user", "content": "What is the meaning of life?"}],
|
||||||
|
@ -539,6 +540,7 @@ async def test_completion_predibase_streaming(sync_mode):
|
||||||
response = await litellm.acompletion(
|
response = await litellm.acompletion(
|
||||||
model="predibase/llama-3-8b-instruct",
|
model="predibase/llama-3-8b-instruct",
|
||||||
tenant_id="c4768f95",
|
tenant_id="c4768f95",
|
||||||
|
max_tokens=10,
|
||||||
api_base="https://serving.app.predibase.com",
|
api_base="https://serving.app.predibase.com",
|
||||||
api_key=os.getenv("PREDIBASE_API_KEY"),
|
api_key=os.getenv("PREDIBASE_API_KEY"),
|
||||||
messages=[{"role": "user", "content": "What is the meaning of life?"}],
|
messages=[{"role": "user", "content": "What is the meaning of life?"}],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue