Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8e5c7c0

Browse files
committed
chore: remove aibridge experiment
Signed-off-by: Danny Kopping <danny@coder.com>
1 parenta1e7e10 commit8e5c7c0

File tree

13 files changed

+192
-63
lines changed

13 files changed

+192
-63
lines changed

‎cli/testdata/coder_server_--help.golden‎

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,41 @@ OPTIONS:
8080
Periodically check for new releases of Coder and inform the owner. The
8181
check is performed once per day.
8282

83+
AIBRIDGE OPTIONS:
84+
--aibridge-anthropic-base-url string, $CODER_AIBRIDGE_ANTHROPIC_BASE_URL (default: https://api.anthropic.com/)
85+
The base URL of the Anthropic API.
86+
87+
--aibridge-anthropic-key string, $CODER_AIBRIDGE_ANTHROPIC_KEY
88+
The key to authenticate against the Anthropic API.
89+
90+
--aibridge-bedrock-access-key string, $CODER_AIBRIDGE_BEDROCK_ACCESS_KEY
91+
The access key to authenticate against the AWS Bedrock API.
92+
93+
--aibridge-bedrock-access-key-secret string, $CODER_AIBRIDGE_BEDROCK_ACCESS_KEY_SECRET
94+
The access key secret to use with the access key to authenticate
95+
against the AWS Bedrock API.
96+
97+
--aibridge-bedrock-model string, $CODER_AIBRIDGE_BEDROCK_MODEL (default: global.anthropic.claude-sonnet-4-5-20250929-v1:0)
98+
The model to use when making requests to the AWS Bedrock API.
99+
100+
--aibridge-bedrock-region string, $CODER_AIBRIDGE_BEDROCK_REGION
101+
The AWS Bedrock API region.
102+
103+
--aibridge-bedrock-small-fastmodel string, $CODER_AIBRIDGE_BEDROCK_SMALL_FAST_MODEL (default: global.anthropic.claude-haiku-4-5-20251001-v1:0)
104+
The small fast model to use when making requests to the AWS Bedrock
105+
API. Claude Code uses Haiku-class models to perform background tasks.
106+
See
107+
https://docs.claude.com/en/docs/claude-code/settings#environment-variables.
108+
109+
--aibridge-enabled bool, $CODER_AIBRIDGE_ENABLED (default: false)
110+
Whether to start an in-memory aibridged instance.
111+
112+
--aibridge-openai-base-url string, $CODER_AIBRIDGE_OPENAI_BASE_URL (default: https://api.openai.com/v1/)
113+
The base URL of the OpenAI API.
114+
115+
--aibridge-openai-key string, $CODER_AIBRIDGE_OPENAI_KEY
116+
The key to authenticate against the OpenAI API.
117+
83118
CLIENT OPTIONS:
84119
These options change the behavior of how clients interact with the Coder.
85120
Clients include the Coder CLI, Coder Desktop, IDE extensions, and the web UI.

‎cli/testdata/server-config.yaml.golden‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -714,8 +714,7 @@ workspace_prebuilds:
714714
# (default: 3, type: int)
715715
failure_hard_limit: 3
716716
aibridge:
717-
# Whether to start an in-memory aibridged instance ("aibridge" experiment must be
718-
# enabled, too).
717+
# Whether to start an in-memory aibridged instance.
719718
# (default: false, type: bool)
720719
enabled: false
721720
# The base URL of the OpenAI API.

‎coderd/apidoc/docs.go‎

Lines changed: 2 additions & 5 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎coderd/apidoc/swagger.json‎

Lines changed: 2 additions & 5 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎codersdk/deployment.go‎

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3241,14 +3241,13 @@ Write out the current server config as YAML to stdout.`,
32413241
// AIBridge Options
32423242
{
32433243
Name:"AIBridge Enabled",
3244-
Description:fmt.Sprintf("Whether to start an in-memory aibridged instance (%q experiment must be enabled, too).",ExperimentAIBridge),
3244+
Description:"Whether to start an in-memory aibridged instance.",
32453245
Flag:"aibridge-enabled",
32463246
Env:"CODER_AIBRIDGE_ENABLED",
32473247
Value:&c.AI.BridgeConfig.Enabled,
32483248
Default:"false",
32493249
Group:&deploymentGroupAIBridge,
32503250
YAML:"enabled",
3251-
Hidden:true,
32523251
},
32533252
{
32543253
Name:"AIBridge OpenAI Base URL",
@@ -3259,7 +3258,6 @@ Write out the current server config as YAML to stdout.`,
32593258
Default:"https://api.openai.com/v1/",
32603259
Group:&deploymentGroupAIBridge,
32613260
YAML:"openai_base_url",
3262-
Hidden:true,
32633261
},
32643262
{
32653263
Name:"AIBridge OpenAI Key",
@@ -3270,7 +3268,6 @@ Write out the current server config as YAML to stdout.`,
32703268
Default:"",
32713269
Group:&deploymentGroupAIBridge,
32723270
YAML:"openai_key",
3273-
Hidden:true,
32743271
},
32753272
{
32763273
Name:"AIBridge Anthropic Base URL",
@@ -3281,7 +3278,6 @@ Write out the current server config as YAML to stdout.`,
32813278
Default:"https://api.anthropic.com/",
32823279
Group:&deploymentGroupAIBridge,
32833280
YAML:"anthropic_base_url",
3284-
Hidden:true,
32853281
},
32863282
{
32873283
Name:"AIBridge Anthropic Key",
@@ -3292,7 +3288,6 @@ Write out the current server config as YAML to stdout.`,
32923288
Default:"",
32933289
Group:&deploymentGroupAIBridge,
32943290
YAML:"anthropic_key",
3295-
Hidden:true,
32963291
},
32973292
{
32983293
Name:"AIBridge Bedrock Region",
@@ -3303,7 +3298,6 @@ Write out the current server config as YAML to stdout.`,
33033298
Default:"",
33043299
Group:&deploymentGroupAIBridge,
33053300
YAML:"bedrock_region",
3306-
Hidden:true,
33073301
},
33083302
{
33093303
Name:"AIBridge Bedrock Access Key",
@@ -3314,7 +3308,6 @@ Write out the current server config as YAML to stdout.`,
33143308
Default:"",
33153309
Group:&deploymentGroupAIBridge,
33163310
YAML:"bedrock_access_key",
3317-
Hidden:true,
33183311
},
33193312
{
33203313
Name:"AIBridge Bedrock Access Key Secret",
@@ -3325,7 +3318,6 @@ Write out the current server config as YAML to stdout.`,
33253318
Default:"",
33263319
Group:&deploymentGroupAIBridge,
33273320
YAML:"bedrock_access_key_secret",
3328-
Hidden:true,
33293321
},
33303322
{
33313323
Name:"AIBridge Bedrock Model",
@@ -3336,7 +3328,6 @@ Write out the current server config as YAML to stdout.`,
33363328
Default:"global.anthropic.claude-sonnet-4-5-20250929-v1:0",// See https://docs.claude.com/en/api/claude-on-amazon-bedrock#accessing-bedrock.
33373329
Group:&deploymentGroupAIBridge,
33383330
YAML:"bedrock_model",
3339-
Hidden:true,
33403331
},
33413332
{
33423333
Name:"AIBridge Bedrock Small Fast Model",
@@ -3347,7 +3338,6 @@ Write out the current server config as YAML to stdout.`,
33473338
Default:"global.anthropic.claude-haiku-4-5-20251001-v1:0",// See https://docs.claude.com/en/api/claude-on-amazon-bedrock#accessing-bedrock.
33483339
Group:&deploymentGroupAIBridge,
33493340
YAML:"bedrock_small_fast_model",
3350-
Hidden:true,
33513341
},
33523342
{
33533343
Name:"Enable Authorization Recordings",
@@ -3645,7 +3635,6 @@ const (
36453635
ExperimentOAuth2Experiment="oauth2"// Enables OAuth2 provider functionality.
36463636
ExperimentMCPServerHTTPExperiment="mcp-server-http"// Enables the MCP HTTP server functionality.
36473637
ExperimentWorkspaceSharingExperiment="workspace-sharing"// Enables updating workspace ACLs for sharing with users and groups.
3648-
ExperimentAIBridgeExperiment="aibridge"// Enables AI Bridge functionality.
36493638
)
36503639

36513640
func (eExperiment)DisplayName()string {
@@ -3666,8 +3655,6 @@ func (e Experiment) DisplayName() string {
36663655
return"MCP HTTP Server Functionality"
36673656
caseExperimentWorkspaceSharing:
36683657
return"Workspace Sharing"
3669-
caseExperimentAIBridge:
3670-
return"AI Bridge"
36713658
default:
36723659
// Split on hyphen and convert to title case
36733660
// e.g. "web-push" -> "Web Push", "mcp-server-http" -> "Mcp Server Http"
@@ -3686,7 +3673,6 @@ var ExperimentsKnown = Experiments{
36863673
ExperimentOAuth2,
36873674
ExperimentMCPServerHTTP,
36883675
ExperimentWorkspaceSharing,
3689-
ExperimentAIBridge,
36903676
}
36913677

36923678
// ExperimentsSafe should include all experiments that are safe for

‎docs/reference/api/schemas.md‎

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎docs/reference/cli/server.md‎

Lines changed: 105 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎enterprise/cli/exp_aibridge_test.go‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ func TestAIBridgeListInterceptions(t *testing.T) {
2727
t.Parallel()
2828

2929
dv:=coderdtest.DeploymentValues(t)
30-
dv.Experiments= []string{string(codersdk.ExperimentAIBridge)}
3130
client,db,owner:=coderdenttest.NewWithDatabase(t,&coderdenttest.Options{
3231
Options:&coderdtest.Options{
3332
DeploymentValues:dv,
@@ -78,7 +77,6 @@ func TestAIBridgeListInterceptions(t *testing.T) {
7877
t.Parallel()
7978

8079
dv:=coderdtest.DeploymentValues(t)
81-
dv.Experiments= []string{string(codersdk.ExperimentAIBridge)}
8280
client,db,owner:=coderdenttest.NewWithDatabase(t,&coderdenttest.Options{
8381
Options:&coderdtest.Options{
8482
DeploymentValues:dv,
@@ -164,7 +162,6 @@ func TestAIBridgeListInterceptions(t *testing.T) {
164162
t.Parallel()
165163

166164
dv:=coderdtest.DeploymentValues(t)
167-
dv.Experiments= []string{string(codersdk.ExperimentAIBridge)}
168165
client,db,owner:=coderdenttest.NewWithDatabase(t,&coderdenttest.Options{
169166
Options:&coderdtest.Options{
170167
DeploymentValues:dv,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp