mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add --aigateway-proxy-target flag (#27122)
Adds `--aigateway-proxy-target` option to `deploymentGroupAIGatewayProxy` that defines URL to which intercepted requests should be forwarded to. Forward URL used to be hardcoded to `coderAPI.AccessURL` pointing to embedded Gateway. With addition of standalone AI Gateway this needs to be configurable. Renamed `aibridgeproxyd.Server.coderAccessURL` and `coderAccessPort` -> `gatewayURL` and `gatewayPort` + option to better reflect reality.
This commit is contained in:
Generated
+10
@@ -1987,6 +1987,16 @@ Enable the AI Gateway MITM Proxy for intercepting and decrypting AI provider req
|
||||
|
||||
The address the AI Gateway Proxy will listen on.
|
||||
|
||||
### --ai-gateway-proxy-target
|
||||
|
||||
| | |
|
||||
|-------------|---------------------------------------------|
|
||||
| Type | <code>string</code> |
|
||||
| Environment | <code>$CODER_AI_GATEWAY_PROXY_TARGET</code> |
|
||||
| YAML | <code>ai_gateway_proxy.target</code> |
|
||||
|
||||
Base URL of the AI Gateway to forward intercepted requests to. Defaults to the embedded AI Gateway address at the Coder access URL plus /api/v2/ai-gateway.
|
||||
|
||||
### --ai-gateway-proxy-tls-cert-file
|
||||
|
||||
| | |
|
||||
|
||||
Reference in New Issue
Block a user