Skip to content

Commit

Permalink
tests(mock_req): use agentops.Client() configuration endpoint (#664)
Browse files Browse the repository at this point in the history
Signed-off-by: Teo <[email protected]>
  • Loading branch information
teocns authored Jan 29, 2025
1 parent f0dd27e commit 40c24bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def api_key() -> str:
@pytest.fixture(scope="session")
def base_url() -> str:
"""Base API URL"""
return "https://api.agentops.ai"
return agentops.Client()._config.endpoint


@pytest.fixture(autouse=True)
Expand Down

0 comments on commit 40c24bf

Please sign in to comment.