Conversation
/v1/responses routing
✅ Coverage Check PassedOverall Coverage
📁 Per-file Coverage Changes (1 files)
Coverage comparison generated by |
There was a problem hiding this comment.
Pull request overview
Adjusts AWF’s API-proxy OpenAI base-URL contract so newer OpenAI/Codex clients (including /v1/responses) compose paths correctly when routing through the sidecar, reducing intermittent 401 Unauthorized failures.
Changes:
- Set agent
OPENAI_BASE_URLto the api-proxy root (http://<api-proxy-ip>:10000) instead of.../v1. - Update
docker-managerunit tests to match the newOPENAI_BASE_URLvalue. - Update docs/comments to reflect the root-form OpenAI base URL in API proxy mode.
Show a summary per file
| File | Description |
|---|---|
src/types.ts |
Updates the documented env var contract for OPENAI_BASE_URL in API proxy mode. |
src/docker-manager.ts |
Changes agent env injection to use the api-proxy root URL for OpenAI. |
src/docker-manager.test.ts |
Updates expectations for OPENAI_BASE_URL to match the new injection behavior. |
docs/authentication-architecture.md |
Aligns diagrams/examples with the new OpenAI base URL form. |
docs/api-proxy-sidecar.md |
Aligns API proxy docs and env var table with the new OpenAI base URL form. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 5/5 changed files
- Comments generated: 0
Smoke Test Results
Overall: PASS
|
This comment has been minimized.
This comment has been minimized.
🔥 Smoke Test Results
Overall: PASS PR by
|
Chroot Version Comparison Results
Result: ❌ Not all tests passed — Python and Node.js versions differ between host and chroot.
|
Smoke Test: GitHub Actions Services Connectivity ✅All checks passed:
|
🏗️ Build Test Suite Results
Overall: 8/8 ecosystems passed — ✅ PASS
|
|
Smoke Test: Copilot BYOK Offline Mode — PASS ✅
Running in BYOK offline mode (
|
Codex runs were intermittently failing with
401 Unauthorizedwhile using the API proxy sidecar path for OpenAI. The proxy wiring used an OpenAI base URL shape that can misroute newer clients targeting/v1/responses.OpenAI base URL contract
OPENAI_BASE_URLinjection to use the sidecar root URL (http://<api-proxy-ip>:10000) instead of appending/v1.Config/test alignment
docker-managerunit expectations forOPENAI_BASE_URLto the new root form.Docs consistency
OPENAI_BASE_URLvalue.