Commit Graph
48 Commits
Author SHA1 Message Date
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
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 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 ce6b1bf8dc feat: implement tool call 2024-07-01 21:00:27 -05:00
Stevan Freeborn 4dd9d168f5 feat: add support for delegate with two parameters 2024-07-01 12:33:48 -05:00
Stevan Freeborn 94434c7092 fix: correct validation for create methods and update xml comments to match 2024-07-01 11:54:28 -05:00
Stevan Freeborn 15315df3c7 fix: remove unused member and move comment 2024-07-01 10:52:57 -05:00
Stevan Freeborn da93ffd1f0 fix: remove throw if name is invalid 2024-07-01 10:51:54 -05:00
Stevan Freeborn a5af4636b9 fix: enforce anthropic's name limitations 2024-07-01 10:49:01 -05:00
Stevan Freeborn 606c81d384 fix: remove redundant validation and add xml comments 2024-06-30 14:56:11 -05:00
Stevan Freeborn 4fd8ecd96b fix: use json object type 2024-06-30 13:57:10 -05:00
Stevan Freeborn 3006ad9b50 feat: add parameter attribute to allow customization of name, description, and requiredness 2024-06-30 12:21:30 -05:00
Stevan Freeborn 0515afb1e0 fix: modify tool class to have static methods and create input schema from function 2024-06-30 12:01:58 -05:00
Stevan Freeborn 691ffaafb7 feat: add class to represent a callable function 2024-06-30 12:00:37 -05:00
Stevan Freeborn 16624798bf docs: add missing xml comments 2024-06-29 22:20:55 -05:00
Stevan Freeborn 5edc0b5fff tests: add missing tests for streaming chat message 2024-06-29 22:07:49 -05:00
Stevan Freeborn ffee24d8ec fix: use trygetvalues 2024-06-29 09:48:09 -05:00
Stevan Freeborn 6ed99a6a23 feat: yield events for streaming including custom message complete event 2024-06-28 16:30:09 -05:00
Stevan Freeborn a4784fd5db feat: add models for streaming messages 2024-06-28 10:54:00 -05:00
Stevan Freeborn 422719f509 fix: move client to top level namespace 2024-06-28 10:53:36 -05:00
Stevan Freeborn 4c2cee643a feat: create chat message 2024-06-27 23:26:53 -05:00