Repository navigation
fix: route Databricks models through canonical protocols - #558
Merged
alongubkin merged 2 commits intoSep 1, 2026
Merged
alongubkin merged 2 commits into
alongubkin merged 2 commits into
Conversation
Greptile SummaryThe PR routes Databricks catalog models through their canonical upstream protocols and adds the request, response, tool-choice, reasoning, and streaming translations needed across supported providers.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| crates/alien-ai-gateway/src/protocol.rs | Extends cross-protocol request, response, tool-choice, reasoning-block, and streaming conversions. |
| crates/alien-ai-gateway/src/router/mod.rs | Routes catalog models through their canonical upstream protocols and applies provider-specific request normalization. |
| crates/alien-core/src/ai_catalog.rs | Updates canonical protocol and endpoint metadata for Databricks models. |
| scripts/gen-env-test.sh | Emits optional live-provider credentials without blocking ordinary local environment generation. |
| .github/workflows/ci-fast.yml | Excludes the new paid live suites from the ordinary hermetic test run. |
| .github/workflows/cloud-tests.yml | Supplies live-provider credentials to the credentialed environment-generation job. |
| .github/workflows/e2e-cloud.yml | Supplies live-provider credentials when generating cloud E2E environment artifacts. |
Sequence Diagram
sequenceDiagram
participant Client
participant Gateway
participant Catalog
participant Provider
Client->>Gateway: Request via Chat, Responses, or Messages
Gateway->>Catalog: Resolve public model and canonical protocol
Catalog-->>Gateway: Upstream model, endpoint, and protocol
Gateway->>Gateway: Translate request when protocols differ
Gateway->>Provider: Canonical provider request
Provider-->>Gateway: Native response or stream
Gateway->>Gateway: Translate to caller protocol
Gateway-->>Client: Compatible response or stream
Reviews (2): Last reviewed commit: "fix: keep live provider credentials opti..." | Re-trigger Greptile
alongubkin
deleted the
alon/alien-642-route-databricks-models-through-their-canonical-upstream
branch
September 1, 2026 18:24
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Real-provider verification
Claude-specific Bedrock and Vertex tests remain ignored pending model access grants in the test accounts; the available model paths above were exercised successfully through the real Alien router.
Validation
cargo test -p alien-ai-gatewaycargo test -p alien-core(549 unit tests; doc tests green)cargo clippy -p alien-ai-gateway -p alien-core --all-targets(green with existing warnings)git diff --checkbash -n scripts/gen-env-test.shpnpm format-and-lintremains blocked by a pre-existing formatting error inexamples/nextjs-app/next-env.d.ts; this PR does not modify that file.Linear: ALIEN-642