Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

kathmbeck
Copy link
Contributor

@kathmbeck kathmbeck commented Sep 11, 2025

Adds ai-gateway package for use in local development
https://linear.app/netlify/issue/RUN-1865/figure-out-how-to-make-local-dev-work

@kathmbeck kathmbeck force-pushed the ai-gateway branch 2 times, most recently from 507bc3a to abad556 Compare September 11, 2025 02:21
@kathmbeck kathmbeck marked this pull request as ready for review September 11, 2025 16:30
@kathmbeck kathmbeck requested a review from a team as a code owner September 11, 2025 16:30
eduardoboucas
eduardoboucas previously approved these changes Sep 15, 2025
return []
}

const url = `${api.scheme}://${api.host}/api/v1/ai-gateway/providers`
Copy link
Member

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?

Copy link
Contributor Author

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([
Copy link
Member

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!

@kathmbeck kathmbeck merged commit aece659 into main Sep 17, 2025
17 checks passed
@kathmbeck kathmbeck deleted the ai-gateway branch September 17, 2025 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants