-
Notifications
You must be signed in to change notification settings - Fork 8
feat(ai): add the ai resource with an OpenAI-compatible gateway #203
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
Open
ItamarZand88
wants to merge
36
commits into
main
Choose a base branch
from
itamar/alien-39-ai-gateway-resource
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
df1a48a
feat(ai): add the AI gateway, resource, controllers, and emitters
ItamarZand88 189689e
fix(ai): apply carve review findings
ItamarZand88 34afd6d
feat(ai): embed the ai-gateway addon into compiled Workers
ItamarZand88 4eb31ac
chore(ai): satisfy biome formatting on ai-gateway packages
ItamarZand88 3a19567
chore(ai): drop the carried-over Postgres runtime binding
ItamarZand88 543ac71
chore(ai): keep this PR AI-only, drop an unrelated InitialSetup log t…
ItamarZand88 7f214ac
refactor(ai): spawn the launcher binary instead of a napi addon
ItamarZand88 1572578
feat(ai): filter getAvailableModels by runtime cloud availability
ItamarZand88 1e26f90
chore(sdk): restore the literal em dash in the package description
ItamarZand88 f741b8f
ci(release): ship the ai-gateway launcher binary as per-platform preb…
ItamarZand88 631ad71
test(ai): answer the Claude availability probe in the two-cloud integ…
ItamarZand88 e935b26
fix: size dev/test thread stacks for the deep deployment async chain
ItamarZand88 40e4e4f
fix(ai): treat a 400 probe response as an unavailable model
ItamarZand88 c287fe6
fix(ai): let one-shot hosts exit by unref-ing the gateway stdio
ItamarZand88 d1c4ef6
fix(ai): enable aiplatform on the GCP Terraform path
ItamarZand88 d618be7
fix(ai): refresh the ambient bearer token single-flight
ItamarZand88 92585b8
fix(ai): fail closed on an unsupported BYO provider
ItamarZand88 f4eeec4
fix(ai): point BYO-Anthropic defaults at active models
ItamarZand88 daa1e89
refactor(ai): split the gateway router into per-provider modules
ItamarZand88 edbd4fb
fix(ai): remove the 2MB proxy body limit
ItamarZand88 b1e5e14
fix(ai): bound the ambient metadata token fetch with a timeout
ItamarZand88 3bced1b
fix(ai): fail fast on a BYO-Anthropic Responses call
ItamarZand88 2d2f921
test(ai): cover the ai import-data types in the schema snapshot
ItamarZand88 af74585
docs(ai): correct the AWS signing-service names in the creds module doc
ItamarZand88 8b1fded
fix(ai): make the published ai-gateway wrapper installable
ItamarZand88 14418e9
fix(ai): cap the proxied request body and reject it in the gateway er…
ItamarZand88 164b836
fix(ci): publish the ai-gateway to the npm dev channel
ItamarZand88 3239828
chore(ci): tighten the ai-gateway test filter comment
ItamarZand88 ef8c977
chore(ai): trim internal detail from a live-test ignore reason
ItamarZand88 30c689b
feat(ai): support .enabled(input) on the AI resource
ItamarZand88 058e953
test(ai): refresh the ai render snapshots for the registration doc
ItamarZand88 4266674
fix(ai): stage the gateway launcher in the versioned Worker base
ItamarZand88 2bea8d9
fix(ai): install only the bindings addon in a bundled Worker
ItamarZand88 2e47a36
fix(ci): qualify the ai-gateway packages before publishing them
ItamarZand88 e37599c
chore(ai): follow the workspace to 3.1.0
ItamarZand88 bd39244
fix(ci): keep a dry-run release from publishing the gateway packages
ItamarZand88 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.