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

feat: add support for models API #30

Merged
merged 10 commits into from
Jan 6, 2025

Conversation

StevanFreeborn
Copy link
Owner

closes #26

  • chore: update settings to format on save
  • feat: add classes to model response to get model list endpoint
  • feat: add model to represent paged request
  • chore: stub out methods for retrieving list of models
  • feat: implement ListAllModelsAsync and ListModelsAsync
  • feat: implement GetModelAsync method
  • tests: fix assertions
  • fix: only allow afterId or beforeId to be set. not both at same time.
  • docs: add examples for the model api to README.md
  • chore: run dotnet format

Copy link

codecov bot commented Jan 6, 2025

Codecov Report

Attention: Patch coverage is 93.47826% with 6 lines in your changes missing coverage. Please review.

Project coverage is 98.23%. Comparing base (de326ab) to head (0b81bfc).
Report is 16 commits behind head on main.

Files with missing lines Patch % Lines
src/AnthropicClient/AnthropicApiClient.cs 88.46% 0 Missing and 6 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #30      +/-   ##
==========================================
- Coverage   98.57%   98.23%   -0.35%     
==========================================
  Files          67       70       +3     
  Lines        1264     1356      +92     
  Branches      103      119      +16     
==========================================
+ Hits         1246     1332      +86     
  Misses          5        5              
- Partials       13       19       +6     

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

@StevanFreeborn StevanFreeborn merged commit 0dd7829 into main Jan 6, 2025
2 of 4 checks passed
@StevanFreeborn StevanFreeborn deleted the stevanfreeborn/feat/add-support-for-models-API branch January 6, 2025 04:03
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.

[FEAT]: Add support for Models API
1 participant