mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-03 07:23:33 +00:00
* feat(search): add native xAI X Search support (#38505) * fix(search): support xAI search on Python 3.10 (#38505)
8 lines
269 B
Python
8 lines
269 B
Python
import pytest
|
|
|
|
|
|
@pytest.fixture(autouse=True)
|
|
def _search_environment(monkeypatch: pytest.MonkeyPatch) -> None:
|
|
monkeypatch.setenv("DISABLE_AIOHTTP_TRANSPORT", "true")
|
|
for name in ("XAI_API_KEY", "XAI_API_BASE"):
|
|
monkeypatch.delenv(name, raising=False)
|