Feat(aigw) set dummy creds for qwen and codex - #6748
Conversation
✅ Deploy Preview for kongdeveloper ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
| open_api_key: sk-placeholder | ||
| base_url: http://localhost:8000/codex |
There was a problem hiding this comment.
I'm getting this error:
⚠ MCP client for
codex_appsfailed to start: MCP startup failed: handshaking
with MCP server failed: Send message error Transport
[codex_rmcp_client::event_notification_transport::EventNotificationTransport<r
mcp::transport::worker::WorkerTransport<rmcp::transport::streamable_http_clien
t::StreamableHttpClientWorker<codex_rmcp_client::http_client_adapter::Streamab
leHttpClientAdapter>>>] error: unexpected server response: HTTP 401: {
"error": {
"message": "Could not parse your authentication token. Please try signing
in again.",
"type": null,
"code": "unauthorized_unknown",
"param": null
},
"status": 401
}, when send initialize request
⚠ MCP startup incomplete (failed: codex_apps)
Relates to #6671
Setting these dummy keys as part of the prerequisites obscures their purpose so instead I have folded them into the command to run the cli tool. This is similar to how we set
CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1for running bedrock models and makes it clear to a user why this is set.For changes to the validation ruby and snippet logic, these are patterned after the corresponding claude code files.
Description
Fixes #issue
Preview Links
https://deploy-preview-6748--kongdeveloper.netlify.app/ai-gateway/ai-clis/
Checklist
descriptionentry in frontmatter.