We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adf7681 commit 10cc15aCopy full SHA for 10cc15a
packages/opencode/src/provider/provider.ts
@@ -716,7 +716,7 @@ export namespace Provider {
716
}
717
718
if (!options["baseURL"]) options["baseURL"] = model.api.url
719
- if (!options["apiKey"]) options["apiKey"] = provider.key
+ if (options["apiKey"] === undefined && provider.key) options["apiKey"] = provider.key
720
if (model.headers)
721
options["headers"] = {
722
...options["headers"],
0 commit comments