fix anthropic api key error

This commit is contained in:
Dax Raad 2025-12-03 23:18:15 -05:00
parent adf7681100
commit 10cc15aabe

View file

@ -716,7 +716,7 @@ export namespace Provider {
}
if (!options["baseURL"]) options["baseURL"] = model.api.url
if (!options["apiKey"]) options["apiKey"] = provider.key
if (options["apiKey"] === undefined && provider.key) options["apiKey"] = provider.key
if (model.headers)
options["headers"] = {
...options["headers"],