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

Commit8d96baa

Browse files
committed
chore: pin aibridge to commit instead of disk
1 parent48164b0 commit8d96baa

File tree

7 files changed

+11
-10
lines changed

7 files changed

+11
-10
lines changed

‎cli/server.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ import (
5656
"cdr.dev/slog"
5757
"cdr.dev/slog/sloggers/sloghuman"
5858
"github.com/coder/aibridge"
59-
"github.com/coder/coder/v2/aibridged"
6059
"github.com/coder/coder/v2/coderd/pproflabel"
60+
"github.com/coder/coder/v2/x/aibridged"
6161
"github.com/coder/pretty"
6262
"github.com/coder/quartz"
6363
"github.com/coder/retry"

‎coderd/aibridged.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55

66
"github.com/go-chi/chi/v5"
77

8-
"github.com/coder/coder/v2/aibridged"
98
"github.com/coder/coder/v2/coderd/httpmw"
109
"github.com/coder/coder/v2/codersdk"
10+
"github.com/coder/coder/v2/x/aibridged"
1111
)
1212

1313
// RegisterInMemoryAIBridgedHTTPHandler mounts [aibridged.Server]'s HTTP router onto

‎coderd/coderd.go‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ import (
2020
"sync/atomic"
2121
"time"
2222

23-
"github.com/coder/coder/v2/aibridged"
24-
aibridgedproto"github.com/coder/coder/v2/aibridged/proto"
2523
"github.com/coder/coder/v2/coderd/oauth2provider"
2624
"github.com/coder/coder/v2/coderd/pproflabel"
2725
"github.com/coder/coder/v2/coderd/prebuilds"
2826
"github.com/coder/coder/v2/coderd/usage"
2927
"github.com/coder/coder/v2/coderd/wsbuilder"
28+
"github.com/coder/coder/v2/x/aibridged"
29+
aibridgedproto"github.com/coder/coder/v2/x/aibridged/proto"
3030

3131
"github.com/andybalholm/brotli"
3232
"github.com/go-chi/chi/v5"
@@ -46,7 +46,7 @@ import (
4646
"tailscale.com/types/key"
4747
"tailscale.com/util/singleflight"
4848

49-
"github.com/coder/coder/v2/coderd/aibridgedserver"
49+
"github.com/coder/coder/v2/coderd/x/aibridgedserver"
5050
"github.com/coder/coder/v2/provisionerd/proto"
5151

5252
"cdr.dev/slog"

‎coderd/database/queries.sql.go‎

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

‎go.mod‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ require (
478478
github.com/anthropics/anthropic-sdk-gov1.12.0
479479
github.com/brianvoe/gofakeit/v7v7.7.1
480480
github.com/coder/agentapi-sdk-gov0.0.0-20250505131810-560d1d88d225
481-
github.com/coder/aibridgev0.0.0-20250924143139-6f2113f274a0// TODO: replace with published tag.
481+
github.com/coder/aibridgev0.0.0-20250924100303-b9f2461d757c// TODO: replace with published tag.
482482
github.com/coder/aisdk-gov0.0.9
483483
github.com/coder/previewv1.0.4
484484
github.com/dgraph-io/ristretto/v2v2.3.0

‎go.sum‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -911,8 +911,8 @@ github.com/cncf/xds/go v0.0.0-20250501225837-2ac532fd4443 h1:aQ3y1lwWyqYPiWZThqv
911911
github.com/cncf/xds/gov0.0.0-20250501225837-2ac532fd4443/go.mod h1:W+zGtBO5Y1IgJhy4+A9GOqVhqLpfZi+vwmdNXUehLA8=
912912
github.com/coder/agentapi-sdk-gov0.0.0-20250505131810-560d1d88d225 h1:tRIViZ5JRmzdOEo5wUWngaGEFBG8OaE1o2GIHN5ujJ8=
913913
github.com/coder/agentapi-sdk-gov0.0.0-20250505131810-560d1d88d225/go.mod h1:rNLVpYgEVeu1Zk29K64z6Od8RBP9DwqCu9OfCzh8MR4=
914-
github.com/coder/aibridgev0.0.0-20250924143139-6f2113f274a0 h1:jUDPqPj8GcPnrVLpImdbsUKlMYOAGxw4C8Hxjv++7a8=
915-
github.com/coder/aibridgev0.0.0-20250924143139-6f2113f274a0/go.mod h1:JaQAEcVuLp/ufRif6yZfOQMvQ+qBODY0sT7ZjKI+8j0=
914+
github.com/coder/aibridgev0.0.0-20250924100303-b9f2461d757c h1:yit+7ZUXpQQXBdRmvJP6Cuk8gjCTbgrOCBiaXiqhT3c=
915+
github.com/coder/aibridgev0.0.0-20250924100303-b9f2461d757c/go.mod h1:JaQAEcVuLp/ufRif6yZfOQMvQ+qBODY0sT7ZjKI+8j0=
916916
github.com/coder/aisdk-gov0.0.9 h1:Vzo/k2qwVGLTR10ESDeP2Ecek1SdPfZlEjtTfMveiVo=
917917
github.com/coder/aisdk-gov0.0.9/go.mod h1:KF6/Vkono0FJJOtWtveh5j7yfNrSctVTpwgweYWSp5M=
918918
github.com/coder/bubbleteav1.2.2-0.20241212190825-007a1cdb2c41 h1:SBN/DA63+ZHwuWwPHPYoCZ/KLAjHv5g4h2MS4f2/MTI=

‎x/aibridged/aibridged_integration_test.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import (
1212
"github.com/stretchr/testify/require"
1313

1414
"github.com/coder/aibridge"
15-
"github.com/coder/coder/v2/aibridged"
1615
"github.com/coder/coder/v2/coderd/coderdtest"
1716
"github.com/coder/coder/v2/coderd/database"
1817
"github.com/coder/coder/v2/coderd/database/dbauthz"
@@ -21,6 +20,7 @@ import (
2120
"github.com/coder/coder/v2/coderd/externalauth"
2221
"github.com/coder/coder/v2/codersdk"
2322
"github.com/coder/coder/v2/testutil"
23+
"github.com/coder/coder/v2/x/aibridged"
2424
)
2525

2626
// TestIntegration is not an exhaustive test against the upstream AI providers' SDKs (see coder/aibridge for those).

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp