diff --git a/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Domain.Shared/Dtos/Anthropic/AnthropicInput.cs b/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Domain.Shared/Dtos/Anthropic/AnthropicInput.cs index 891dae7b..12474b20 100644 --- a/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Domain.Shared/Dtos/Anthropic/AnthropicInput.cs +++ b/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Domain.Shared/Dtos/Anthropic/AnthropicInput.cs @@ -109,8 +109,15 @@ public sealed class AnthropicInput public class AnthropicThinkingInput { [JsonPropertyName("type")] public string? Type { get; set; } - [JsonPropertyName("budget_tokens")] public int? BudgetTokens { get; set; } + + [JsonPropertyName("signature")] public string? Signature { get; set; } + + [JsonPropertyName("thinking")] public string? Thinking { get; set; } + + [JsonPropertyName("data")] public string? Data { get; set; } + + [JsonPropertyName("text")] public string? Text { get; set; } } public class AnthropicTooChoiceInput diff --git a/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Domain.Shared/Dtos/Anthropic/AnthropicMessageContent.cs b/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Domain.Shared/Dtos/Anthropic/AnthropicMessageContent.cs index ae6ecc04..df23aa72 100644 --- a/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Domain.Shared/Dtos/Anthropic/AnthropicMessageContent.cs +++ b/Yi.Abp.Net8/module/ai-hub/Yi.Framework.AiHub.Domain.Shared/Dtos/Anthropic/AnthropicMessageContent.cs @@ -20,6 +20,8 @@ public class AnthropicMessageContent [JsonPropertyName("thinking")] public string? Thinking { get; set; } + [JsonPropertyName("signature")] public string? Signature { get; set; } + [JsonPropertyName("input")] public object? Input { get; set; } [JsonPropertyName("content")]