mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
test: remove AGIone live network test
This commit is contained in:
parent
3495455a78
commit
3427f4462c
1 changed files with 0 additions and 26 deletions
|
|
@ -1,9 +1,5 @@
|
|||
"""Tests for AGIone provider configuration and integration."""
|
||||
|
||||
import os
|
||||
|
||||
import pytest
|
||||
|
||||
import litellm
|
||||
|
||||
|
||||
|
|
@ -91,25 +87,3 @@ class TestAGIoneProviderConfig:
|
|||
|
||||
assert len(router.model_list) == 1
|
||||
assert router.model_list[0]["model_name"] == "agione-chat"
|
||||
|
||||
|
||||
def test_agione_completion_live():
|
||||
"""Optional live smoke test. Runs only when AGIONE_API_KEY is set."""
|
||||
api_key = os.environ.get("AGIONE_API_KEY")
|
||||
if not api_key or api_key == "PASTE_YOUR_NEW_KEY_HERE":
|
||||
pytest.skip("AGIONE_API_KEY not set")
|
||||
|
||||
response = litellm.completion(
|
||||
model="agione/deepseek/deepseek-v3.2/0000n",
|
||||
messages=[
|
||||
{
|
||||
"role": "user",
|
||||
"content": "Reply exactly: litellm-agione-ok",
|
||||
}
|
||||
],
|
||||
max_tokens=20,
|
||||
)
|
||||
|
||||
assert response is not None
|
||||
assert response.choices
|
||||
assert response.choices[0].message.content is not None
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue