fix(provider): pass apiKey to createUnified for Cloudflare AI Gateway (#32052)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
This commit is contained in:
parent
273efdeee7
commit
8fd5753f76
2 changed files with 2 additions and 2 deletions
|
|
@ -816,7 +816,7 @@ function custom(dep: CustomDep): Record<string, CustomLoader> {
|
|||
apiKey: apiToken,
|
||||
...(Object.values(opts).some((v) => v !== undefined) ? { options: opts } : {}),
|
||||
})
|
||||
const unified = createUnified()
|
||||
const unified = createUnified({ apiKey: apiToken })
|
||||
|
||||
return {
|
||||
autoload: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue