Commit Graph
100 Commits
Author SHA1 Message Date
Stevan Freeborn 9e367d3542 chore: update settings to format on save 2025-01-02 21:45:04 -06: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
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 66008717e1 fix: remove converter 2024-08-16 08:19:47 -05:00
Stevan Freeborn ed97ea95dc feat: first take of adding caching support 2024-08-15 23:04:45 -05:00
Stevan Freeborn c0dec5f7de Merge pull request #12 from StevanFreeborn/stevanfreeborn/tests/fix-image-test [skip ci]
tests: stop git from messing up image file
2024-07-19 22:49:42 -05:00
Stevan Freeborn 051fa178aa tests: stop git from messing up image file 2024-07-19 22:47:47 -05:00
Stevan Freeborn 03ad94d9f9 docs: documentation for v0.0.4 [skip ci] 2024-07-20 03:40:51 +00:00
Stevan Freeborn 5ab8297a83 chore(release): 0.0.4 [skip ci] 2024-07-20 03:40:07 +00:00
Stevan Freeborn d27538b656 Merge pull request #11 from StevanFreeborn/stevanfreeborn/fix/missing-type-property-and-response-handling
fix: address issues
2024-07-19 22:39:51 -05:00
Stevan Freeborn a16b64d5a0 chore: use base64 text file 2024-07-19 22:38:47 -05:00
Stevan Freeborn 48b2716a61 chore: debug CI failure 2024-07-19 22:31:36 -05:00
Stevan Freeborn 641eaf30a4 chore: debug ci failure 2024-07-19 21:52:29 -05:00
Stevan Freeborn 30c0116113 chore: debug ci failure 2024-07-19 21:50:07 -05:00
Stevan Freeborn 9b714df12f chore: debug CI failure 2024-07-19 21:45:56 -05:00
Stevan Freeborn f39e76cfa6 chore: debug test failure in CI 2024-07-19 21:41:26 -05:00
Stevan Freeborn f970b07ed7 tests: add missing type property 2024-07-19 21:39:04 -05:00
Stevan Freeborn 93761b8e7e chore: run format 2024-07-19 21:38:52 -05:00
Stevan Freeborn b3d4ac3faa fix: add end to end test for vision 2024-07-19 21:31:49 -05:00
Stevan Freeborn 3b47ed3fb4 fix: yield error when initial stream response is not successful 2024-07-19 21:15:59 -05:00
Stevan Freeborn 0a692d1b9a fix: add missing type property to image source model 2024-07-18 23:46:55 -05:00
Stevan Freeborn 999a255468 chore(release): 0.0.3 [skip ci] 2024-07-11 14:23:11 +00:00
Stevan Freeborn f245d6442f Merge pull request #8 from StevanFreeborn/stevanfreeborn/feat/address-nuget-health-checks
feat: address nuget health checks
2024-07-11 09:22:49 -05:00
Stevan Freeborn 5576b688c5 chore: upgrade System.Text.Json dep 2024-07-11 09:20:38 -05:00
Stevan Freeborn 989951db55 fix: address nuget health checks 2024-07-11 09:20:22 -05:00
Stevan Freeborn d486bc8691 docs: documentation for v0.0.2 [skip ci] 2024-07-10 14:00:35 +00:00
Stevan Freeborn 0918213e55 chore(release): 0.0.2 [skip ci] 2024-07-10 13:59:58 +00:00
Stevan Freeborn 3bdb4173f3 Merge pull request #5 from StevanFreeborn/stevanfreeborn/fix/allow-stop-sequence-to-be-passed
fix: allow stop sequences to be passed
2024-07-10 08:59:34 -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 0a2ea1934d docs: documentation for v0.0.1 [skip ci] 2024-07-08 01:12:14 +00:00
Stevan Freeborn 27264261ce chore: update gitattributes to treat font files as binary 2024-07-07 20:11:05 -05:00
Stevan Freeborn 3b9dc6706e Merge branch 'main' of github.com:StevanFreeborn/anthropic-client 2024-07-07 17:48:31 -05:00
Stevan Freeborn 7c04f0a29c chore: update workflow to continue on error 2024-07-07 17:48:23 -05:00
Stevan Freeborn 19c535ffb3 chore(release): 0.0.1 [skip ci] 2024-07-07 22:46:36 +00:00
Stevan Freeborn 4f156a53cf Merge branch 'main' of github.com:StevanFreeborn/anthropic-client 2024-07-07 17:45:50 -05:00
Stevan Freeborn afee3b293a fix: add correct package project url 2024-07-07 17:45:43 -05:00
Stevan Freeborn 2e64dcb7db Create CNAME 2024-07-07 17:33:23 -05:00
Stevan Freeborn 7ad471d760 docs: documentation for v0.0.0 [skip ci] 2024-07-07 22:32:23 +00:00
Stevan Freeborn 56f74c68c9 Merge branch 'main' of github.com:StevanFreeborn/anthropic-client 2024-07-07 17:31:32 -05:00
Stevan Freeborn 8a6af152b0 docs: add material theme for documentation site 2024-07-07 17:31:26 -05:00
Stevan Freeborn 57e950e1ce docs: documentation for v0.0.0 [skip ci] 2024-07-07 22:16:46 +00:00
Stevan Freeborn 599a11cd2d docs: add badges 2024-07-07 17:15:54 -05:00
Stevan Freeborn 2879bfde33 docs: documentation for v0.0.0 [skip ci] 2024-07-07 22:03:41 +00:00