mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
allow setting options in global provider store
This commit is contained in:
parent
b8bbee4718
commit
ebe51534a1
2 changed files with 4 additions and 3 deletions
|
|
@ -203,9 +203,7 @@ export namespace Provider {
|
|||
}
|
||||
|
||||
// load config
|
||||
for (const [providerID, provider] of Object.entries(
|
||||
config.provider ?? {},
|
||||
)) {
|
||||
for (const [providerID, provider] of configProviders) {
|
||||
mergeProvider(providerID, provider.options ?? {}, "config")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue