mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix: avoid overwriting the provider.option.baseURL (#880)
This commit is contained in:
parent
4bb8536d34
commit
3249420ad1
1 changed files with 1 additions and 1 deletions
|
|
@ -234,7 +234,7 @@ export namespace Provider {
|
|||
if (!provider) {
|
||||
const info = database[id]
|
||||
if (!info) return
|
||||
if (info.api) options["baseURL"] = info.api
|
||||
if (info.api && !options["baseURL"]) options["baseURL"] = info.api
|
||||
providers[id] = {
|
||||
source,
|
||||
info,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue