Repository navigation
Sync/origin main with local7 20260318 - #3300
Micah123321 wants to merge 7 commits into
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (17)
WalkthroughThis PR consolidates Docker image publishing exclusively to GitHub Container Registry (GHCR), removing Docker Hub support across workflow files. It introduces fallback mechanisms for legacy protocol support in channel testing and response handlers, adds Bearer authentication for Anthropic channels, and updates Vertex AI endpoint URLs with API key validation. Related tests and docker-compose configuration are updated accordingly. Changes
Sequence Diagram(s)sequenceDiagram
actor Client
participant Controller as Channel Controller
participant Relay as Relay Handler
participant Upstream as Upstream Service
participant Fallback as Legacy Protocol Handler
Client->>Controller: Channel Test Request
Controller->>Upstream: Forward to /v1/chat/completions
Upstream-->>Controller: Non-200 Response (unsupported)
alt shouldFallbackToResponsesInChannelTest = true
Controller->>Fallback: ChatCompletionsViaResponses
Fallback->>Upstream: Retry via /v1/responses
Upstream-->>Fallback: Success Response
Fallback-->>Controller: Usage + Response
Controller-->>Client: Success with usage
else Fallback Not Applicable
Controller->>Controller: RelayErrorHandler
Controller-->>Client: Error Response
end
sequenceDiagram
actor Client
participant Handler as Responses Handler
participant Upstream as Upstream Service
participant Fallback as Responses Adapter
Client->>Handler: Request with ResponsesCompact Mode
Handler->>Upstream: POST /v1/responses/compact
Upstream-->>Handler: 404 Not Found
alt shouldFallbackResponsesCompactionToResponses = true
Handler->>Fallback: Reconstruct Request Body
Fallback->>Upstream: POST /v1/responses (non-compact)
Upstream-->>Fallback: Success Response
Fallback-->>Handler: Response Data
Handler-->>Client: Success
else Fallback Not Applicable
Handler-->>Client: 404 Error
end
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip CodeRabbit can use Trivy to scan for security misconfigurations and secrets in Infrastructure as Code files.Add a .trivyignore file to your project to customize which findings Trivy reports. |
Summary by CodeRabbit
New Features
Bug Fixes
Refactor
Tests