mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-30 16:23:35 +08:00
标题生成未正确调用模型接口
标题生成未正确调用模型接口
This commit is contained in:
parent
b777e31b6a
commit
4d3e7ff0cd
@ -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) {
|
switch (authStrategy) {
|
||||||
case 'api_key':
|
case 'api_key':
|
||||||
return { 'x-api-key': apiKey }
|
return { 'x-api-key': apiKey }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user