You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add --openai-api-target and --anthropic-api-target flags for custom LLM endpoints
Adds support for routing OpenAI and Anthropic API proxy traffic to custom
endpoints, enabling use with internal LLM routers, Azure OpenAI, and other
OpenAI/Anthropic-compatible APIs.
Follows the existing --copilot-api-target pattern.
Changes:
- cli.ts: Add --openai-api-target and --anthropic-api-target CLI flags
- types.ts: Add openaiApiTarget and anthropicApiTarget to WrapperConfig
- docker-manager.ts: Pass OPENAI_API_TARGET / ANTHROPIC_API_TARGET to proxy container
- containers/api-proxy/server.js: Read OPENAI_API_TARGET / ANTHROPIC_API_TARGET
env vars (defaulting to api.openai.com / api.anthropic.com) instead of hardcoding
Closes: github/gh-aw#20590
0 commit comments