-
Notifications
You must be signed in to change notification settings - Fork 9
feat: add AI gateway #450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add AI gateway #450
Conversation
507bc3a
to
abad556
Compare
abad556
to
33c8bc1
Compare
return [] | ||
} | ||
|
||
const url = `${api.scheme}://${api.host}/api/v1/ai-gateway/providers` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to confirm, there's still plans to add this to the API client, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, Ryan is working on that as part of the API work.
const { api, env, siteId, siteUrl } = config | ||
|
||
if (siteId && siteId !== 'unlinked' && siteUrl) { | ||
const [aiGatewayToken, envVars] = await Promise.all([ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's great that you're parallelising these!
Co-authored-by: Eduardo Bouças <[email protected]>
Co-authored-by: Eduardo Bouças <[email protected]>
Co-authored-by: Eduardo Bouças <[email protected]>
Adds ai-gateway package for use in local development
https://linear.app/netlify/issue/RUN-1865/figure-out-how-to-make-local-dev-work