Commit Graph
74 Commits
Author SHA1 Message Date
Stevan Freeborn ad3b990138 chore: run dotnet format 2025-07-14 23:30:02 -05:00
Stevan Freeborn d1e88a52ac feat: implement GetFileInfoAsync, GetFileAsync, and DeleteFileAsync 2025-07-14 23:30:02 -05:00
Stevan Freeborn c212ebffcd tests: add tests for anthropic file model 2025-07-14 23:30:02 -05:00
Stevan Freeborn b26e663960 tests: add integration test for creating file 2025-07-14 23:30:02 -05:00
Stevan Freeborn f4ffcf5fbc docs: fix xml comments 2025-07-14 23:30:02 -05:00
Stevan Freeborn 1cad19d9c6 fix: remove unnecessary usings 2025-07-14 23:30:02 -05:00
Stevan Freeborn e674b9afe6 feat: initial implementation of creating a file via the Files API 2025-07-14 23:30:02 -05:00
Stevan Freeborn e351823f37 fix: address copilot comments 2025-07-08 22:04:24 -05:00
Stevan Freeborn 2732ae2b21 tests: add additional test coverage 2025-07-08 21:56:13 -05:00
Stevan Freeborn d2173555bc chore: run dotnet format 2025-06-15 11:50:09 -05:00
Stevan Freeborn 0c62a7cfcc tests: adding missing tests for newly introduced classes 2025-06-15 11:49:48 -05:00
Stevan Freeborn 98da1384c1 feat: add support for citations when streaming 2025-06-14 22:24:44 -05:00
Stevan Freeborn 5b8d88a01d feat: add support for citations
BREAKING CHANGE: Changed type of public Source properties.
Updated `Source` property on `DocumentContent` and `ImageContent`
types to use base `Source` type

- include support for citing custom sources
- include support for citing PDF sources
- include support for citing text sources
2025-06-14 13:44:10 -05:00
Stevan Freeborn a9d0dfdc76 feat: initial pass at citations in request and response 2025-06-10 23:34:33 -05:00
Stevan Freeborn fc2932f3c5 chore: run dotnet format 2025-01-15 10:30:02 -06:00
Stevan Freeborn 56b3a53a2a feat: add DeleteMessageBatchAsync method and MessageBatchDeleteResponse model with tests 2025-01-14 13:41:32 -06:00
Stevan Freeborn c56adf394c feat: implement GetMessageBatchResultsAsync method 2025-01-09 23:17:41 -06:00
Stevan Freeborn 0a6d89bd77 fix: default nullable properties to actually datetimeoffset min value when new'd up 2025-01-08 23:20:21 -06:00
Stevan Freeborn f8e01bf487 feat: add class for representing batch statuses 2025-01-08 22:46:17 -06:00
Stevan Freeborn 15f5ad49e7 fix: make correct properties nullable 2025-01-08 22:32:36 -06:00
Stevan Freeborn 9548754d6c feat: implement CreateMessageBatchAsync method 2025-01-08 20:37:58 -06:00
Stevan Freeborn 0b81bfc2f6 chore: run dotnet format 2025-01-05 21:57:18 -06:00
Stevan Freeborn 3fe75f511d fix: only allow afterId or beforeId to be set. not both at same time. 2025-01-05 21:55:53 -06:00
Stevan Freeborn 8e0443a6bb feat: implement ListAllModelsAsync and ListModelsAsync 2025-01-05 21:20:27 -06:00
Stevan Freeborn df75cd25e0 feat: add model to represent paged request 2025-01-05 16:57:13 -06:00
Stevan Freeborn 28b7bf6a89 feat: add classes to model response to get model list endpoint 2025-01-02 21:45:37 -06:00
Stevan Freeborn 944822060c feat: add support for count tokens endpoint 2025-01-01 20:13:01 -06:00
Stevan Freeborn 31a7097cdc fix: remove model id validation 2025-01-01 20:12:26 -06:00
Stevan Freeborn 9c0a2e37b7 chore: run dotnet format 2025-01-01 18:49:52 -06:00
Stevan Freeborn 6e0c0654af feat: add missing model identifiers
- Added additional identifiers for existing Models
  but included the date for consistency while maintaining
  backwards compatibility for those using the existing
  identifiers.
- Added missing identifiers for new versions of the
  Models
- Added identifiers for the models supporting the
  `latest` identifier
- All identifiers sourced from this doc:
  https://docs.anthropic.com/en/docs/about-claude/models
2025-01-01 00:48:25 -06:00
Stevan Freeborn f3a7040cb9 feat: add model for DocumentContent and DocumentSource 2024-11-21 13:43:21 -06:00
Stevan Freeborn c4d4d8a15b feat: add content type 2024-11-21 13:42:42 -06:00
Stevan Freeborn afe70a9012 chore: run dotnet format 2024-08-18 14:59:47 -05:00
Stevan Freeborn 539d735e6b fix: make sure to pass cache control to tool constructor 2024-08-18 14:19:43 -05:00
Stevan Freeborn cc1d628feb fix: give cache control proper json property name 2024-08-18 12:52:21 -05:00
Stevan Freeborn a3c7e90734 feat: add constructor to allow setting cache control on tool result content 2024-08-17 18:08:22 -05:00
Stevan Freeborn d458c9ed23 fix: make cache control setter public 2024-08-17 17:56:07 -05:00
Stevan Freeborn 6431e2a113 fix: make cache control class abstract 2024-08-17 17:51:45 -05:00
Stevan Freeborn 987fbe9742 fix: reuse validation logic in constructors 2024-08-17 17:51:32 -05:00
Stevan Freeborn 35adac9fa0 feat: add type for ephemeral cache control 2024-08-16 13:58:14 -05:00
Stevan Freeborn 90e9b9f75e fix: use additional constructor param with default value instead of overloaded constructor to avoid potentially breaking others code with that would then contain ambigious constructor calls. 2024-08-16 13:49:50 -05:00
Stevan Freeborn 900a7a3549 tests: update tests to account for serialization and deserialization changes with new/modified model properties to support caching 2024-08-16 09:21:43 -05:00
Stevan Freeborn ed97ea95dc feat: first take of adding caching support 2024-08-15 23:04:45 -05:00
Stevan Freeborn 0a692d1b9a fix: add missing type property to image source model 2024-07-18 23:46:55 -05:00
Stevan Freeborn 0363756571 fix: add stop sequences parameter 2024-07-10 08:57:23 -05:00
Stevan Freeborn 48f813f49f docs: correct xml comment 2024-07-10 08:53:10 -05:00
Stevan Freeborn 3851bf41c0 chore: run dotnet format 2024-07-07 16:21:23 -05:00
Stevan Freeborn c538a3eb8c fix: throw exception when accessing result props incorrectly 2024-07-06 11:55:47 -05:00
Stevan Freeborn 5c0cad2545 docs: work on README 2024-07-06 08:46:40 -05:00
Stevan Freeborn dd380c9253 docs: work on README 2024-07-03 16:57:27 -05:00