fix: preserve runtime option defaults (#38118)
This commit is contained in:
parent
dd50d457b0
commit
7243bd9e12
5 changed files with 27 additions and 5 deletions
|
|
@ -552,7 +552,7 @@ export const layer = (options?: Options) => Layer.effect(
|
|||
),
|
||||
)
|
||||
|
||||
const source = options?.url ?? "https://models.dev"
|
||||
const source = options?.url || "https://models.dev"
|
||||
const fetch = options?.fetch ?? true
|
||||
const userAgent = `opencode/${InstallationChannel}/${InstallationVersion}/${options?.client ?? "cli"}`
|
||||
const filepath = path.join(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue