├── .github └── workflows │ ├── publish.yml │ └── test.yml ├── .gitignore ├── Justfile ├── LICENSE ├── README.md ├── llm_anthropic.py ├── pyproject.toml └── tests ├── cassettes └── test_anthropic │ ├── test_async_prompt.yaml │ ├── test_image_prompt.yaml │ ├── test_image_with_no_prompt.yaml │ ├── test_prompt.yaml │ ├── test_prompt_with_prefill_and_stop_sequences.yaml │ ├── test_schema_prompt.yaml │ ├── test_schema_prompt_async.yaml │ ├── test_thinking_prompt.yaml │ ├── test_tools.yaml │ ├── test_url_prompt.yaml │ └── test_web_search.yaml ├── conftest.py └── test_anthropic.py /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/llm-anthropic/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/llm-anthropic/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/llm-anthropic/HEAD/.gitignore -------------------------------------------------------------------------------- /Justfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/llm-anthropic/HEAD/Justfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/llm-anthropic/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/llm-anthropic/HEAD/README.md -------------------------------------------------------------------------------- /llm_anthropic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/llm-anthropic/HEAD/llm_anthropic.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/llm-anthropic/HEAD/pyproject.toml -------------------------------------------------------------------------------- /tests/cassettes/test_anthropic/test_async_prompt.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/llm-anthropic/HEAD/tests/cassettes/test_anthropic/test_async_prompt.yaml -------------------------------------------------------------------------------- /tests/cassettes/test_anthropic/test_image_prompt.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/llm-anthropic/HEAD/tests/cassettes/test_anthropic/test_image_prompt.yaml -------------------------------------------------------------------------------- /tests/cassettes/test_anthropic/test_image_with_no_prompt.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/llm-anthropic/HEAD/tests/cassettes/test_anthropic/test_image_with_no_prompt.yaml -------------------------------------------------------------------------------- /tests/cassettes/test_anthropic/test_prompt.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/llm-anthropic/HEAD/tests/cassettes/test_anthropic/test_prompt.yaml -------------------------------------------------------------------------------- /tests/cassettes/test_anthropic/test_prompt_with_prefill_and_stop_sequences.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/llm-anthropic/HEAD/tests/cassettes/test_anthropic/test_prompt_with_prefill_and_stop_sequences.yaml -------------------------------------------------------------------------------- /tests/cassettes/test_anthropic/test_schema_prompt.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/llm-anthropic/HEAD/tests/cassettes/test_anthropic/test_schema_prompt.yaml -------------------------------------------------------------------------------- /tests/cassettes/test_anthropic/test_schema_prompt_async.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/llm-anthropic/HEAD/tests/cassettes/test_anthropic/test_schema_prompt_async.yaml -------------------------------------------------------------------------------- /tests/cassettes/test_anthropic/test_thinking_prompt.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/llm-anthropic/HEAD/tests/cassettes/test_anthropic/test_thinking_prompt.yaml -------------------------------------------------------------------------------- /tests/cassettes/test_anthropic/test_tools.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/llm-anthropic/HEAD/tests/cassettes/test_anthropic/test_tools.yaml -------------------------------------------------------------------------------- /tests/cassettes/test_anthropic/test_url_prompt.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/llm-anthropic/HEAD/tests/cassettes/test_anthropic/test_url_prompt.yaml -------------------------------------------------------------------------------- /tests/cassettes/test_anthropic/test_web_search.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/llm-anthropic/HEAD/tests/cassettes/test_anthropic/test_web_search.yaml -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/llm-anthropic/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/test_anthropic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simonw/llm-anthropic/HEAD/tests/test_anthropic.py --------------------------------------------------------------------------------