Added Claude Support and Unit Tests #10
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request adds Anthropic (Claude) as a supported LLM backend in CARIBOU, alongside OpenAI and DeepSeek, and updates the documentation and CLI to reflect this new option. It also introduces a new lightweight Anthropic client wrapper for API compatibility and provides a quickstart guide for running the test suite.
Support for Anthropic (Claude) LLM:
AnthropicClientclass incaribou/core/anthropic_wrapper.pyto provide a compatible chat API interface for Anthropic models, mirroring the OpenAI client structure.caribou/cli/config_cli.py) to support setting the Anthropic API key viacaribou config set-anthropic-key, storing it in the environment file.caribou/cli/run_cli.py) to recognizeclaudeas a valid LLM backend, initialize the Anthropic client when selected, and update all relevant option help texts and prompts. [1] [2] [3] [4] [5]Documentation Updates:
README.mdandcaribou/README.mdto include instructions for configuring and selecting Anthropic as an LLM backend, along with updated example commands and usage notes. [1] [2] [3] [4] [5] [6] [7] [8]Testing Improvements:
caribou/tests/QUICKSTART.mdguide detailing how to install test dependencies and run the CARIBOU test suite, including coverage and troubleshooting tips.