Commit Graph
247 Commits
Author SHA1 Message Date
Stevan Freeborn f4ffcf5fbc docs: fix xml comments 2025-07-14 23:30:02 -05:00
Stevan Freeborn 914495ab97 tests: add create file request tests 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 307c0da0c9 docs: documentation for v1.0.0 [skip ci] 2025-07-09 03:15:32 +00:00
Stevan Freeborn 47e93c2e93 chore(release): 1.0.0 [skip ci] v1.0.0 2025-07-09 03:14:57 +00:00
Stevan Freeborn 5b3df4ad06 Merge pull request #37 from StevanFreeborn/stevanfreeborn/feat/add-citations
feat: add citations support
2025-07-08 22:14:31 -05:00
Stevan Freeborn bee8fb1e81 docs: update README.md with citations support information [skip ci] 2025-07-08 22:13:58 -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 598eaaad94 feat: add serialization tests for CharacterLocationCitation, CitationDelta, ContentBlockLocationCitation, PageLocationCitation, and DocumentContent classes 2025-06-22 10:52:14 -05:00
Stevan Freeborn 68e91fcdbb feat: add unit tests for DocumentContent, CustomSource, PageLocationCitation, SourceType, and TextSource classes
chore: update VSCode settings to exclude docs from search
2025-06-20 22:23:57 -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 74ac1ffc06 fix: when serializing source use media type to deserialize to image or document source 2025-06-14 14:01:18 -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 d50989833e chore: update editor config/fix analyzer suggestions 2025-06-10 23:54:43 -05:00
Stevan Freeborn a9d0dfdc76 feat: initial pass at citations in request and response 2025-06-10 23:34:33 -05:00
Stevan Freeborn 8326e1749d chore: update editorconfig 2025-06-10 21:43:50 -05:00
Stevan Freeborn d0c62cb199 docs: documentation for v0.6.1 [skip ci] 2025-05-19 20:34:34 +00:00
Stevan Freeborn a455090f6f chore(release): 0.6.1 [skip ci] v0.6.1 2025-05-19 20:33:31 +00:00
Stevan Freeborn 69484ffb93 Merge pull request #34 from StevanFreeborn/stevanfreeborn/fix/add-cancellation-token-support
fix: add cancellation token support
2025-05-19 15:33:09 -05:00
Stevan FreebornandCopilot 16ee80a3a4 docs: update src/AnthropicClient/IAnthropicApiClient.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-19 15:30:29 -05:00
Stevan FreebornandCopilot 702685bd10 docs: update src/AnthropicClient/IAnthropicApiClient.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-19 15:30:12 -05:00
Stevan Freeborn 5d4fb290ba fix: cleanup based on copilot review comments 2025-05-19 15:28:08 -05:00
Stevan Freeborn e2d4ee735a chore: update workflows to use .NET 9 2025-05-19 15:21:51 -05:00
Stevan Freeborn e68428c8ba chore: upgrade dependencies 2025-05-19 15:16:53 -05:00
Stevan Freeborn 24ecff969e chore: upgrade test project to .NET 9 2025-05-19 15:14:50 -05:00
Stevan Freeborn 595326c7a9 fix: cleanup copilot mistakes with passing cancellation token to methods that don't accept them 2025-05-19 15:14:11 -05:00
Stevan Freeborn 0a1c6a0135 fix: copilot first attempt 2025-05-19 19:52:16 +00:00
Stevan Freeborn 02e34bb0ab docs: documentation for v0.6.0 [skip ci] 2025-01-15 16:33:05 +00:00
Stevan Freeborn e8a3d6c6cd chore(release): 0.6.0 [skip ci] v0.6.0 2025-01-15 16:32:24 +00:00
Stevan Freeborn 26e5d297bb Merge pull request #31 from StevanFreeborn/stevanfreeborn/feat/add-support-for-message-batching
feat: add support for message batching api
2025-01-15 10:31:54 -06:00
Stevan Freeborn fc2932f3c5 chore: run dotnet format 2025-01-15 10:30:02 -06:00
Stevan Freeborn ee9dbcf647 docs: fix example 2025-01-15 10:29:23 -06:00
Stevan Freeborn 07cadf17af docs: add examples for message batch api methods 2025-01-15 10:23:59 -06:00
Stevan Freeborn 2794c52c2a docs: stub out batch documentation 2025-01-14 13:52:46 -06:00
Stevan Freeborn 56b3a53a2a feat: add DeleteMessageBatchAsync method and MessageBatchDeleteResponse model with tests 2025-01-14 13:41:32 -06:00
Stevan Freeborn 7ec931dda5 refactor: add private method to dry class up a bit 2025-01-14 13:14:14 -06:00
Stevan Freeborn a3ac1001f6 tests: add end to end test for canceling a batch 2025-01-14 12:57:52 -06:00
Stevan Freeborn c11600c770 feat: add CancelMessageBatchAsync method and corresponding tests 2025-01-13 13:11:47 -06:00
Stevan Freeborn 180a090195 feat: add ListAllMessageBatchesAsync method and corresponding tests 2025-01-13 12:42:23 -06:00
Stevan Freeborn ca2ecdcfc7 feat: implement ListMessageBatchesAsync method 2025-01-12 13:46:05 -06:00
Stevan Freeborn 876c6f571c tests: cover null responses 2025-01-12 13:26:31 -06:00
Stevan Freeborn 299af3b759 tests: add test for batch result type and succeeded batch result model 2025-01-10 22:52:46 -06:00
Stevan Freeborn 3034544ca4 refactor: move local function below return 2025-01-09 23:40:55 -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 c5f3c5eca5 feat: implement GetMessageBatchAsync method 2025-01-08 23:15:24 -06:00