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]
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
Stevan Freeborn
f8e01bf487
feat: add class for representing batch statuses
2025-01-08 22:46:17 -06:00
Stevan Freeborn
779a5ca281
tests: add end-to-end test for creating a message batch
2025-01-08 22:33:27 -06:00
Stevan Freeborn
854e4642ab
tests: add integration tests for remaining 🥲 and 😀 paths
2025-01-08 22:33:09 -06:00
Stevan Freeborn
15f5ad49e7
fix: make correct properties nullable
2025-01-08 22:32:36 -06:00
Stevan Freeborn
5e247a3c3a
fix: use proper count tokens endpoint
2025-01-08 20:39:16 -06:00
Stevan Freeborn
9548754d6c
feat: implement CreateMessageBatchAsync method
2025-01-08 20:37:58 -06:00
Stevan Freeborn
fe39f10382
docs: documentation for v0.5.0 [skip ci]
2025-01-06 04:04:17 +00:00
Stevan Freeborn
df0738ac7f
chore(release): 0.5.0 [skip ci]
2025-01-06 04:03:42 +00:00
Stevan Freeborn
0dd7829733
Merge pull request #30 from StevanFreeborn/stevanfreeborn/feat/add-support-for-models-API
...
feat: add support for models API
2025-01-05 22:03:17 -06:00
Stevan Freeborn
0b81bfc2f6
chore: run dotnet format
2025-01-05 21:57:18 -06:00
Stevan Freeborn
33191a32cc
docs: add examples for the model api to README.md
2025-01-05 21:56:14 -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
9abad390f1
tests: fix assertions
2025-01-05 21:37:50 -06:00
Stevan Freeborn
8bbd4bb7c8
feat: implement GetModelAsync method
2025-01-05 21:36:34 -06:00
Stevan Freeborn
8e0443a6bb
feat: implement ListAllModelsAsync and ListModelsAsync
2025-01-05 21:20:27 -06:00
Stevan Freeborn
9d341011df
chore: stub out methods for retrieving list of models
2025-01-05 16:57:30 -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
9e367d3542
chore: update settings to format on save
2025-01-02 21:45:04 -06:00
Stevan Freeborn
4a7d2c39be
docs: documentation for v0.4.0 [skip ci]
2025-01-03 02:56:41 +00:00
Stevan Freeborn
e08c94ec57
chore(release): 0.4.0 [skip ci]
2025-01-03 02:56:09 +00:00
Stevan Freeborn
5a1bf4ca41
Merge pull request #29 from StevanFreeborn/stevanfreeborn/feat/add-support-for-counting-tokens
...
feat: add support for counting tokens
2025-01-02 20:55:47 -06:00
Stevan Freeborn
de326abe25
docs: add count message tokens example to README.md
2025-01-02 20:52:52 -06:00
Stevan Freeborn
57f66d3619
chore: remove need for beta header when using prompt caching or PDF support
2025-01-02 20:47:35 -06:00
Stevan Freeborn
a23938961f
tests: add integration tests to cover both 😁 and 🥲 paths when counting message tokens
2025-01-02 20:41:12 -06:00
Stevan Freeborn
4fe8bfaf0e
refactor: put public method above private methods
2025-01-02 20:40:38 -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
8ef9a21a93
docs: documentation for v0.3.0 [skip ci]
2025-01-02 00:52:34 +00:00
Stevan Freeborn
87ecb6e5ad
chore(release): 0.3.0 [skip ci]
2025-01-02 00:51:59 +00:00
Stevan Freeborn
abf4154432
Merge pull request #28 from StevanFreeborn/stevanfreeborn/feat/add-all-UTD-model-identifiers
...
feat: add model identifiers
2025-01-01 18:51:37 -06:00
Stevan Freeborn
9c0a2e37b7
chore: run dotnet format
2025-01-01 18:49:52 -06:00
Stevan Freeborn
f861155551
tests: add tests for new model identifiers
2025-01-01 18:46:49 -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
6b6bc1b015
docs: documentation for v0.2.0 [skip ci]
2024-11-21 20:08:15 +00:00
Stevan Freeborn
69ec59d0ee
chore(release): 0.2.0 [skip ci]
2024-11-21 20:07:42 +00:00
Stevan Freeborn
27ad654cd9
Merge pull request #24 from StevanFreeborn/stevanfreeborn/feat/add-pdf-support
...
feat: add pdf support
2024-11-21 14:07:22 -06:00
Stevan Freeborn
dc9755cbb8
chore: run dotnet format
2024-11-21 13:59:45 -06:00
Stevan Freeborn
c66dc81df3
tests: add a test for converting DocumentContent
2024-11-21 13:55:56 -06:00
Stevan Freeborn
3de38ee5cf
docs: add info about pdf support to README.md
2024-11-21 13:44:21 -06:00
Stevan Freeborn
fe984d517d
tests: add end to end test using pdf support
2024-11-21 13:43:41 -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
d3d156a65d
chore(release): 0.1.1 [skip ci]
2024-11-19 20:22:03 +00:00
Stevan Freeborn
02bab6ae84
Merge pull request #22 from StevanFreeborn/stevanfreeborn/chore/update-versionize-command
...
chore: update versionize command
2024-11-19 14:21:34 -06:00
Stevan Freeborn
8cccda0927
chore: update versionize command
2024-11-19 14:21:07 -06:00
Stevan Freeborn
5f8b16ebc5
docs: documentation for v0.1.0 [skip ci]
2024-11-19 20:13:35 +00:00
Stevan Freeborn
9d997500a8
Merge pull request #21 from StevanFreeborn/stevanfreeborn/chore/update-vuln-dep
...
fix: address vulnerabilities in dependencies
2024-11-19 14:12:50 -06:00
Stevan Freeborn
24bd877c09
fix: address vulnerabilities in dependencies
2024-11-19 14:10:36 -06:00
Stevan Freeborn
87f363e7cd
docs: documentation for v0.1.0 [skip ci]
2024-09-06 15:18:34 +00:00
Stevan Freeborn
16b4373fca
Merge pull request #15 from StevanFreeborn/stevanfreeborn/docs/fix-copy-pasta-mistake
...
docs: fix copy pasta mistakes in README.md
2024-09-06 10:17:42 -05:00
Stevan Freeborn
d47bcbcb51
docs: fix copy pasta mistakes in README.md
2024-09-06 10:17:08 -05:00
Stevan Freeborn
a4a3379dc4
docs: documentation for v0.1.0 [skip ci]
2024-08-18 20:02:24 +00:00
Stevan Freeborn
838e7ba859
chore(release): 0.1.0 [skip ci]
2024-08-18 20:01:43 +00:00
Stevan Freeborn
dc162aa80b
Merge pull request #14 from StevanFreeborn/stevanfreeborn/feat/add-support-for-prompt-caching
...
feat: add support for prompt caching
2024-08-18 15:01:19 -05:00
Stevan Freeborn
afe70a9012
chore: run dotnet format
2024-08-18 14:59:47 -05:00
Stevan Freeborn
c2fa796bd0
docs: update README.md with documentation about using prompt caching with this library.
2024-08-18 14:56:52 -05:00
Stevan Freeborn
f1c02ebc8f
chore: whitelist word
2024-08-18 14:56:27 -05:00
Stevan Freeborn
42d6ee4d34
tests: add tests for creating tools with cache control set
2024-08-18 14:19:55 -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
07457c1808
tests: remove unused using statement
2024-08-18 12:56:49 -05:00
Stevan Freeborn
4524d7be88
tests: added end to end tests for cache control when caching system messages, user messages, or tools
2024-08-18 12:54:13 -05:00
Stevan Freeborn
eb0befe62a
tests: add method for creating client with customized http client
2024-08-18 12:53:42 -05:00
Stevan Freeborn
e04599bad9
chore: put request json in intermediate variable to make debugging better
2024-08-18 12:53:08 -05:00
Stevan Freeborn
2e1c1118c3
tests: add text greater than 2048 tokens for testing caching
2024-08-18 12:52:44 -05:00
Stevan Freeborn
cc1d628feb
fix: give cache control proper json property name
2024-08-18 12:52:21 -05:00
Stevan Freeborn
f6460e99ee
tests: add test for serializing system property with correct expected value based on whether given system messages or just a system message.
2024-08-18 11:37:19 -05:00
Stevan Freeborn
e47095e03d
tests: add test to make sure cache control can be set on tool use content objects
2024-08-18 11:20:19 -05:00
Stevan Freeborn
0c160e998a
tests: add tests for constructor using cache control
2024-08-18 11:17:29 -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
0253794235
tests: add tests for overloaded constructor
2024-08-17 17:53:20 -05:00
Stevan Freeborn
f2f150791e
tests: add tests for ephemeral cache control model
2024-08-17 17:53:03 -05:00
Stevan Freeborn
364c91080c
tests: add test for cache control type static class
2024-08-17 17:51:56 -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