Skip to content

Commit cbbdad6

Browse files
committed
chore: rename aiproxyd to aibridgeproxyd
1 parent feca199 commit cbbdad6

File tree

15 files changed

+205
-205
lines changed

15 files changed

+205
-205
lines changed

cli/testdata/coder_server_--help.golden

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,18 +139,18 @@ AI BRIDGE OPTIONS:
139139
Maximum number of AI Bridge requests per second per replica. Set to 0
140140
to disable (unlimited).
141141

142-
AI PROXY OPTIONS:
143-
--aiproxy-cert-file string, $CODER_AIPROXY_CERT_FILE
142+
AI BRIDGE PROXY OPTIONS:
143+
--aibridge-proxy-cert-file string, $CODER_AIBRIDGE_PROXY_CERT_FILE
144144
Path to the CA certificate file for MITM.
145145

146-
--aiproxy-enabled bool, $CODER_AIPROXY_ENABLED (default: false)
146+
--aibridge-proxy-enabled bool, $CODER_AIBRIDGE_PROXY_ENABLED (default: false)
147147
Enable the AI MITM proxy for intercepting and decrypting AI provider
148148
requests.
149149

150-
--aiproxy-key-file string, $CODER_AIPROXY_KEY_FILE
150+
--aibridge-proxy-key-file string, $CODER_AIBRIDGE_PROXY_KEY_FILE
151151
Path to the CA private key file for MITM.
152152

153-
--aiproxy-listen-addr string, $CODER_AIPROXY_LISTEN_ADDR (default: :8888)
153+
--aibridge-proxy-listen-addr string, $CODER_AIBRIDGE_PROXY_LISTEN_ADDR (default: :8888)
154154
The address the AI proxy will listen on.
155155

156156
CLIENT OPTIONS:

cli/testdata/server-config.yaml.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ aibridge:
765765
# (unlimited).
766766
# (default: 0, type: int)
767767
rateLimit: 0
768-
aiproxy:
768+
aibridgeproxy:
769769
# Enable the AI MITM proxy for intercepting and decrypting AI provider requests.
770770
# (default: false, type: bool)
771771
enabled: false

coderd/apidoc/docs.go

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/apidoc/swagger.json

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codersdk/deployment.go

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1217,9 +1217,9 @@ func (c *DeploymentValues) Options() serpent.OptionSet {
12171217
Name: "AI Bridge",
12181218
YAML: "aibridge",
12191219
}
1220-
deploymentGroupAIProxy = serpent.Group{
1221-
Name: "AI Proxy",
1222-
YAML: "aiproxy",
1220+
deploymentGroupAIBridgeProxy = serpent.Group{
1221+
Name: "AI Bridge Proxy",
1222+
YAML: "aibridgeproxy",
12231223
}
12241224
deploymentGroupRetention = serpent.Group{
12251225
Name: "Retention",
@@ -3448,45 +3448,45 @@ Write out the current server config as YAML to stdout.`,
34483448
YAML: "rateLimit",
34493449
},
34503450

3451-
// AI Proxy Options
3451+
// AI Bridge Proxy Options
34523452
{
3453-
Name: "AI Proxy Enabled",
3453+
Name: "AI Bridge Proxy Enabled",
34543454
Description: "Enable the AI MITM proxy for intercepting and decrypting AI provider requests.",
3455-
Flag: "aiproxy-enabled",
3456-
Env: "CODER_AIPROXY_ENABLED",
3457-
Value: &c.AI.ProxyConfig.Enabled,
3455+
Flag: "aibridge-proxy-enabled",
3456+
Env: "CODER_AIBRIDGE_PROXY_ENABLED",
3457+
Value: &c.AI.BridgeProxyConfig.Enabled,
34583458
Default: "false",
3459-
Group: &deploymentGroupAIProxy,
3459+
Group: &deploymentGroupAIBridgeProxy,
34603460
YAML: "enabled",
34613461
},
34623462
{
3463-
Name: "AI Proxy Listen Address",
3463+
Name: "AI Bridge Proxy Listen Address",
34643464
Description: "The address the AI proxy will listen on.",
3465-
Flag: "aiproxy-listen-addr",
3466-
Env: "CODER_AIPROXY_LISTEN_ADDR",
3467-
Value: &c.AI.ProxyConfig.ListenAddr,
3465+
Flag: "aibridge-proxy-listen-addr",
3466+
Env: "CODER_AIBRIDGE_PROXY_LISTEN_ADDR",
3467+
Value: &c.AI.BridgeProxyConfig.ListenAddr,
34683468
Default: ":8888",
3469-
Group: &deploymentGroupAIProxy,
3469+
Group: &deploymentGroupAIBridgeProxy,
34703470
YAML: "listen_addr",
34713471
},
34723472
{
3473-
Name: "AI Proxy Certificate File",
3473+
Name: "AI Bridge Proxy Certificate File",
34743474
Description: "Path to the CA certificate file for MITM.",
3475-
Flag: "aiproxy-cert-file",
3476-
Env: "CODER_AIPROXY_CERT_FILE",
3477-
Value: &c.AI.ProxyConfig.CertFile,
3475+
Flag: "aibridge-proxy-cert-file",
3476+
Env: "CODER_AIBRIDGE_PROXY_CERT_FILE",
3477+
Value: &c.AI.BridgeProxyConfig.CertFile,
34783478
Default: "",
3479-
Group: &deploymentGroupAIProxy,
3479+
Group: &deploymentGroupAIBridgeProxy,
34803480
YAML: "cert_file",
34813481
},
34823482
{
3483-
Name: "AI Proxy Key File",
3483+
Name: "AI Bridge Proxy Key File",
34843484
Description: "Path to the CA private key file for MITM.",
3485-
Flag: "aiproxy-key-file",
3486-
Env: "CODER_AIPROXY_KEY_FILE",
3487-
Value: &c.AI.ProxyConfig.KeyFile,
3485+
Flag: "aibridge-proxy-key-file",
3486+
Env: "CODER_AIBRIDGE_PROXY_KEY_FILE",
3487+
Value: &c.AI.BridgeProxyConfig.KeyFile,
34883488
Default: "",
3489-
Group: &deploymentGroupAIProxy,
3489+
Group: &deploymentGroupAIBridgeProxy,
34903490
YAML: "key_file",
34913491
},
34923492

@@ -3582,16 +3582,16 @@ type AIBridgeBedrockConfig struct {
35823582
SmallFastModel serpent.String `json:"small_fast_model" typescript:",notnull"`
35833583
}
35843584

3585-
type AIProxyConfig struct {
3585+
type AIBridgeProxyConfig struct {
35863586
Enabled serpent.Bool `json:"enabled" typescript:",notnull"`
35873587
ListenAddr serpent.String `json:"listen_addr" typescript:",notnull"`
35883588
CertFile serpent.String `json:"cert_file" typescript:",notnull"`
35893589
KeyFile serpent.String `json:"key_file" typescript:",notnull"`
35903590
}
35913591

35923592
type AIConfig struct {
3593-
BridgeConfig AIBridgeConfig `json:"bridge,omitempty"`
3594-
ProxyConfig AIProxyConfig `json:"proxy,omitempty"`
3593+
BridgeConfig AIBridgeConfig `json:"bridge,omitempty"`
3594+
BridgeProxyConfig AIBridgeProxyConfig `json:"aibridge_proxy,omitempty"`
35953595
}
35963596

35973597
type SupportConfig struct {

docs/reference/api/general.md

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)