-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #96 from tryAGI/bot/update-openapi_202412210048
feat:Update Anthropic API OpenAPI spec for message batch management and models
- Loading branch information
Showing
39 changed files
with
1,638 additions
and
356 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
src/libs/Anthropic/Generated/Anthropic.IMessageBatchesClient.BetaMessageBatchesDelete.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#nullable enable | ||
|
||
namespace Anthropic | ||
{ | ||
public partial interface IMessageBatchesClient | ||
{ | ||
/// <summary> | ||
/// Delete a Message Batch<br/> | ||
/// This endpoint is idempotent and can be used to poll for Message Batch completion. To access the results of a Message Batch, make a request to the `results_url` field in the response. | ||
/// </summary> | ||
/// <param name="messageBatchId"> | ||
/// ID of the Message Batch. | ||
/// </param> | ||
/// <param name="anthropicBeta"> | ||
/// Optional header to specify the beta version(s) you want to use.<br/> | ||
/// To use multiple betas, use a comma separated list like `beta1,beta2` or specify the header multiple times for each beta. | ||
/// </param> | ||
/// <param name="anthropicVersion"> | ||
/// The version of the Anthropic API you want to use.<br/> | ||
/// Read more about versioning and our version history [here](https://docs.anthropic.com/en/api/versioning). | ||
/// </param> | ||
/// <param name="xApiKey"> | ||
/// Your unique API key for authentication. <br/> | ||
/// This key is required in the header of all API requests, to authenticate your account and access Anthropic's services. Get your API key through the [Console](https://console.anthropic.com/settings/keys). Each key is scoped to a Workspace. | ||
/// </param> | ||
/// <param name="cancellationToken">The token to cancel the operation with</param> | ||
/// <exception cref="global::Anthropic.ApiException"></exception> | ||
global::System.Threading.Tasks.Task<global::Anthropic.BetaDeleteMessageBatchResponse> BetaMessageBatchesDeleteAsync( | ||
string messageBatchId, | ||
string? anthropicBeta = default, | ||
string? anthropicVersion = default, | ||
string? xApiKey = default, | ||
global::System.Threading.CancellationToken cancellationToken = default); | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
src/libs/Anthropic/Generated/Anthropic.IMessageBatchesClient.MessageBatchesDelete.g.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#nullable enable | ||
|
||
namespace Anthropic | ||
{ | ||
public partial interface IMessageBatchesClient | ||
{ | ||
/// <summary> | ||
/// Delete a Message Batch<br/> | ||
/// This endpoint is idempotent and can be used to poll for Message Batch completion. To access the results of a Message Batch, make a request to the `results_url` field in the response. | ||
/// </summary> | ||
/// <param name="messageBatchId"> | ||
/// ID of the Message Batch. | ||
/// </param> | ||
/// <param name="anthropicVersion"> | ||
/// The version of the Anthropic API you want to use.<br/> | ||
/// Read more about versioning and our version history [here](https://docs.anthropic.com/en/api/versioning). | ||
/// </param> | ||
/// <param name="xApiKey"> | ||
/// Your unique API key for authentication. <br/> | ||
/// This key is required in the header of all API requests, to authenticate your account and access Anthropic's services. Get your API key through the [Console](https://console.anthropic.com/settings/keys). Each key is scoped to a Workspace. | ||
/// </param> | ||
/// <param name="cancellationToken">The token to cancel the operation with</param> | ||
/// <exception cref="global::Anthropic.ApiException"></exception> | ||
global::System.Threading.Tasks.Task<global::Anthropic.DeleteMessageBatchResponse> MessageBatchesDeleteAsync( | ||
string messageBatchId, | ||
string? anthropicVersion = default, | ||
string? xApiKey = default, | ||
global::System.Threading.CancellationToken cancellationToken = default); | ||
} | ||
} |
Oops, something went wrong.