Files
llm-claude-3/tests/conftest.py
Simon Willison 8dc778592f Async models
* Tip about pytest --record-mode once

Plus mechanism for setting API key during tests with PYTEST_ANTHROPIC_API_KEY

* Async support for Claude models

Closes #25
Refs https://github.com/simonw/llm/issues/507
Refs https://github.com/simonw/llm/pull/613

* Depend on llm>=0.18a0, refs #25
2024-11-13 19:36:11 -08:00

7 lines
111 B
Python

import pytest
@pytest.fixture(scope="module")
def vcr_config():
return {"filter_headers": ["X-API-KEY"]}