Skip to content

Commit 68cf38a

Browse files
committed
chore: drive-by renaming
Signed-off-by: Danny Kopping <danny@coder.com>
1 parent e63eff3 commit 68cf38a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

bridge_integration_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1270,10 +1270,10 @@ func TestStableRequestEncoding(t *testing.T) {
12701270
t.Cleanup(cancel)
12711271

12721272
// Setup MCP tools.
1273-
tools, _ := setupMCPServerProxiesForTest(t)
1273+
mcpProxiers, _ := setupMCPServerProxiesForTest(t)
12741274

12751275
// Configure the bridge with injected tools.
1276-
mcpMgr := mcp.NewServerProxyManager(tools)
1276+
mcpMgr := mcp.NewServerProxyManager(mcpProxiers)
12771277
require.NoError(t, mcpMgr.Init(ctx))
12781278

12791279
arc := txtar.Parse(tc.fixture)

metrics_integration_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,8 @@ func TestMetrics_InjectedToolUseCount(t *testing.T) {
236236
provider := aibridge.NewAnthropicProvider(anthropicCfg(mockAPI.URL, apiKey), nil)
237237

238238
// Setup mocked MCP server & tools.
239-
tools, _ := setupMCPServerProxiesForTest(t)
240-
mcpMgr := mcp.NewServerProxyManager(tools)
239+
mcpProxiers, _ := setupMCPServerProxiesForTest(t)
240+
mcpMgr := mcp.NewServerProxyManager(mcpProxiers)
241241
require.NoError(t, mcpMgr.Init(ctx))
242242

243243
bridge, err := aibridge.NewRequestBridge(ctx, []aibridge.Provider{provider}, recorder, mcpMgr, metrics, logger)

0 commit comments

Comments
 (0)