-
Notifications
You must be signed in to change notification settings - Fork 9
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
Merged
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
3ac729b
feat(ai): add the AI gateway, resource, controllers, and emitters
ItamarZand88 f3a397e
fix(ai): apply carve review findings
ItamarZand88 087af9b
feat(ai): embed the ai-gateway addon into compiled Workers
ItamarZand88 470a0e6
chore(ai): satisfy biome formatting on ai-gateway packages
ItamarZand88 b757911
chore(ai): drop the carried-over Postgres runtime binding
ItamarZand88 2350678
chore(ai): keep this PR AI-only, drop an unrelated InitialSetup log t…
ItamarZand88 48e80aa
refactor(ai): spawn the launcher binary instead of a napi addon
ItamarZand88 8e368b8
feat(ai): filter getAvailableModels by runtime cloud availability
ItamarZand88 ee49969
chore(sdk): restore the literal em dash in the package description
ItamarZand88 fab0ed8
ci(release): ship the ai-gateway launcher binary as per-platform preb…
ItamarZand88 07b0121
test(ai): answer the Claude availability probe in the two-cloud integ…
ItamarZand88 a2b0b54
fix: size dev/test thread stacks for the deep deployment async chain
ItamarZand88 cd51d8f
fix(ai): treat a 400 probe response as an unavailable model
ItamarZand88 a7cb041
fix(ai): let one-shot hosts exit by unref-ing the gateway stdio
ItamarZand88 6ab5501
fix(ai): enable aiplatform on the GCP Terraform path
ItamarZand88 ecefd9f
fix(ai): refresh the ambient bearer token single-flight
ItamarZand88 7323e63
fix(ai): fail closed on an unsupported BYO provider
ItamarZand88 a8bfa43
fix(ai): point BYO-Anthropic defaults at active models
ItamarZand88 0c1bbb1
refactor(ai): split the gateway router into per-provider modules
ItamarZand88 d5679ee
fix(ai): remove the 2MB proxy body limit
ItamarZand88 fb36c4e
fix(ai): bound the ambient metadata token fetch with a timeout
ItamarZand88 be3c311
fix(ai): fail fast on a BYO-Anthropic Responses call
ItamarZand88 b94c845
test(ai): cover the ai import-data types in the schema snapshot
ItamarZand88 27974cc
docs(ai): correct the AWS signing-service names in the creds module doc
ItamarZand88 92ec4d9
fix(ai): make the published ai-gateway wrapper installable
ItamarZand88 5bfbc22
fix(ai): cap the proxied request body and reject it in the gateway er…
ItamarZand88 3599c5e
fix(ci): publish the ai-gateway to the npm dev channel
ItamarZand88 692564b
chore(ci): tighten the ai-gateway test filter comment
ItamarZand88 125b00d
chore(ai): trim internal detail from a live-test ignore reason
ItamarZand88 c6153d6
feat(ai): support .enabled(input) on the AI resource
ItamarZand88 99ae0b8
test(ai): refresh the ai render snapshots for the registration doc
ItamarZand88 e195ef6
fix(ai): stage the gateway launcher in the versioned Worker base
ItamarZand88 93e5029
fix(ai): install only the bindings addon in a bundled Worker
ItamarZand88 cc187e4
fix(ci): qualify the ai-gateway packages before publishing them
ItamarZand88 6a45ea9
chore(ai): follow the workspace to 3.2.0
ItamarZand88 f116dd3
fix(ci): keep a dry-run release from publishing the gateway packages
ItamarZand88 a14b8e7
fix(ci): stop building the ai-gateway wrapper during install
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.