标题生成未正确调用模型接口

标题生成未正确调用模型接口
This commit is contained in:
zhb 2026-06-21 00:54:03 +08:00 committed by GitHub
parent b777e31b6a
commit 4d3e7ff0cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -740,7 +740,7 @@ function buildDirectTestRequest(
}
}
function buildAnthropicAuthHeaders(apiKey: string, authStrategy: ProviderAuthStrategy): Record<string, string> {
export function buildAnthropicAuthHeaders(apiKey: string, authStrategy: ProviderAuthStrategy): Record<string, string> {
switch (authStrategy) {
case 'api_key':
return { 'x-api-key': apiKey }