WIP: Add Claude (Anthropic) model support #15
Reference in New Issue
Block a user
Delete Branch "copilot/add-claude-support-latest-model"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds support for Anthropic's Claude models including the latest Claude 4 and Claude 3.5 variants.
Models Added
anthropic/claude-sonnet-4-20250514anthropic/claude-opus-4-20250514anthropic/claude-3.5-sonnetanthropic/claude-3.5-haikuChanges
New Claude API Integration (
src/utils/claude_utils.py)Configuration
ANTHROPIC_API_KEYenv var supportMODEL_OPTIONSandPDF_ALLOWED_MODELSBot Integration
bot.pymessage_handler.pywith full tool support/searchand/webcommands handle Claude modelsUsage
Claude models require
ANTHROPIC_API_KEYin.env. Bot gracefully degrades if key is not configured.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
Comment
@coderabbitai helpto get the list of available commands and usage tips.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.