Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

convert claude (anthropic) mutator to use the messages API #613

Merged
merged 2 commits into from
Mar 20, 2024
Merged

Conversation

batmac
Copy link
Owner

@batmac batmac commented Mar 19, 2024

to be able to use claude 3 models
(see https://docs.anthropic.com/claude/reference/messages_post)

@batmac batmac changed the title convert claude (anthropic) mutatorto use the messages API convert claude (anthropic) mutator to use the messages API Mar 19, 2024
Copy link

codecov bot commented Mar 19, 2024

Codecov Report

Attention: Patch coverage is 26.89076% with 87 lines in your changes are missing coverage. Please review.

Project coverage is 57.67%. Comparing base (353f2d2) to head (956817d).

Files Patch % Lines
pkg/miniclaude/messagesapi.go 8.88% 82 Missing ⚠️
pkg/mutators/single/claude.go 82.75% 4 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #613      +/-   ##
==========================================
+ Coverage   53.99%   57.67%   +3.67%     
==========================================
  Files         110      103       -7     
  Lines        4167     3896     -271     
==========================================
- Hits         2250     2247       -3     
+ Misses       1665     1395     -270     
- Partials      252      254       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@batmac batmac merged commit f0f3250 into main Mar 20, 2024
23 checks passed
@batmac batmac deleted the claude3 branch March 20, 2024 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant