Commit Graph
100 Commits
Author SHA1 Message Date
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
Stevan Freeborn 78d75eb944 Merge branch 'main' of github.com:StevanFreeborn/anthropic-client 2024-07-07 17:02:42 -05:00
Stevan Freeborn 6eaaaef3b6 chore: remove PDF option 2024-07-07 17:02:40 -05:00
Stevan Freeborn 9d6935c9eb docs: documentation for v0.0.0 [skip ci] 2024-07-07 21:51:04 +00:00
Stevan Freeborn 1de786c27c chore: fix workflow 2024-07-07 16:50:13 -05:00
Stevan Freeborn ddeb6519a2 Merge branch 'main' of github.com:StevanFreeborn/anthropic-client 2024-07-07 16:47:49 -05:00
Stevan Freeborn 2a7dd118c6 chore: workout documentation job 2024-07-07 16:46:36 -05:00
Stevan Freeborn acbb669bd2 chore(release): 0.0.0 [skip ci] 2024-07-07 21:32:38 +00:00
Stevan Freeborn 6067d5d70c chore: delete change log 2024-07-07 16:29:54 -05:00
Stevan Freeborn 98e9596070 Merge branch 'main' of github.com:StevanFreeborn/anthropic-client 2024-07-07 16:28:45 -05:00
Stevan Freeborn dde8543b62 chore: workflow fix mispelling 2024-07-07 16:28:37 -05:00
Stevan Freeborn f2b3e0e7d3 chore(release): 0.0.0 [skip ci] 2024-07-07 21:26:01 +00:00
Stevan Freeborn 1e7fa66865 Merge pull request #2 from StevanFreeborn/stevanfreeborn/chore/add-workflows
chore: add workflows and documentation generation'
2024-07-07 16:25:32 -05:00
Stevan Freeborn f85771c664 chore: run format 2024-07-07 16:24:34 -05:00
Stevan Freeborn cc6f6820ec chore: add git attributes file 2024-07-07 16:23:56 -05:00
Stevan Freeborn 3851bf41c0 chore: run dotnet format 2024-07-07 16:21:23 -05:00
Stevan Freeborn c2e21ac574 tests: make test settings optional 2024-07-07 16:21:16 -05:00
Stevan Freeborn d5cfe65622 chore: fix dotnet format command 2024-07-07 16:20:59 -05:00
Stevan Freeborn 3e69208681 docs: use docfx to generate documentation 2024-07-07 16:16:55 -05:00
Stevan Freeborn 554c696069 chore: more work on workflows 2024-07-07 15:33:47 -05:00
Stevan Freeborn be836d6f48 chore: fix branch name 2024-07-07 15:20:09 -05:00
Stevan Freeborn b6baef7f50 chore: add dispatch event to workflows 2024-07-07 15:19:33 -05:00
Stevan Freeborn d1855ddd37 chore: add package metadat 2024-07-07 15:16:46 -05:00
Stevan Freeborn ebbae05a22 chore: add workflows 2024-07-07 15:07:42 -05:00
Stevan Freeborn 3969937ffa Merge pull request #1 from StevanFreeborn/stevanfreeborn/docs/prepare-documentation-for-release
docs: prepare README
2024-07-06 11:59:23 -05:00
Stevan Freeborn c538a3eb8c fix: throw exception when accessing result props incorrectly 2024-07-06 11:55:47 -05:00
Stevan Freeborn 1d352a6f95 docs: work on README 2024-07-06 11:31:55 -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
Stevan Freeborn bd8e4c70ab tests: add additional streaming tests 2024-07-03 13:58:58 -05:00
Stevan Freeborn fec7de2f66 fix: correct nullability 2024-07-03 13:58:44 -05:00
Stevan Freeborn e3ba6a6287 feat: create tool from class that implements ITool 2024-07-03 13:57:51 -05:00
Stevan Freeborn 917719d36e tests: work on adding integration tests 2024-07-03 00:11:48 -05:00
Stevan Freeborn 78497b8235 docs: update README.md 2024-07-02 00:07:49 -05:00
Stevan Freeborn 22b5f6bda2 docs: update README.md 2024-07-02 00:06:50 -05:00
Stevan Freeborn ebae27077e tests: work on adding integration tests 2024-07-01 23:59:24 -05:00
Stevan Freeborn c2788c3893 fix: address methods that return void or task in those cases return null 2024-07-01 23:14:08 -05:00
Stevan Freeborn 1ae90106b5 chore: run dotnet format 2024-07-01 22:46:02 -05:00
Stevan Freeborn f848d4b792 feat: add function property attribute 2024-07-01 22:45:54 -05:00
Stevan Freeborn ff649cb3d1 tests: add test cases 2024-07-01 21:29:23 -05:00