-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat:Title: Update documentation for API endpoints and usage examples #54
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -13,15 +13,15 @@ namespace Anthropic | |||||||||||||
public enum ToolChoiceType | ||||||||||||||
{ | ||||||||||||||
/// <summary> | ||||||||||||||
/// | ||||||||||||||
/// allows Claude to decide whether to call any provided tools or not. This is the default value. | ||||||||||||||
/// </summary> | ||||||||||||||
Auto, | ||||||||||||||
/// <summary> | ||||||||||||||
/// | ||||||||||||||
/// allows Claude to decide whether to call any provided tools or not. This is the default value. | ||||||||||||||
/// </summary> | ||||||||||||||
Any, | ||||||||||||||
Comment on lines
+20
to
22
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correct the documentation for The current documentation for Please replace the current documentation with the correct description: - /// allows Claude to decide whether to call any provided tools or not. This is the default value.
+ /// Tells Claude that it must use one of the provided tools, but doesn't force a particular tool. This change aligns the member-level documentation with the enum-level description, providing accurate information about the Committable suggestion
Suggested change
|
||||||||||||||
/// <summary> | ||||||||||||||
/// | ||||||||||||||
/// allows Claude to decide whether to call any provided tools or not. This is the default value. | ||||||||||||||
/// </summary> | ||||||||||||||
Tool, | ||||||||||||||
Comment on lines
+24
to
26
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correct the documentation for The current documentation for Please replace the current documentation with the correct description: - /// allows Claude to decide whether to call any provided tools or not. This is the default value.
+ /// Allows us to force Claude to always use a particular tool specified in the `name` field. This change aligns the member-level documentation with the enum-level description, providing accurate information about the Committable suggestion
Suggested change
|
||||||||||||||
} | ||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Improve consistency and clarity in enum member documentation.
The current documentation for
Auto
is inconsistent with the enum-level documentation and doesn't provide additional value. Consider the following suggestions:Here's a suggested improvement:
This change maintains consistency with the enum-level documentation while avoiding redundancy.
Committable suggestion