feat: 支持 x-api-key 认证并扩展 Anthropic 响应字段,优化工具调用处理

This commit is contained in:
ccnetcore
2025-10-18 13:23:54 +08:00
parent 9abcd72aca
commit a13ee395c7
4 changed files with 17 additions and 5 deletions

View File

@@ -94,6 +94,8 @@ public class AnthropicChatCompletionDtoContentBlock
[JsonPropertyName("tool_use_id")] public string? ToolUseId { get; set; }
[JsonPropertyName("content")] public object? Content { get; set; }
[JsonPropertyName("text")] public string? Text { get; set; }
}
public class AnthropicChatCompletionDto