Skip to content

Commit 54db153

Browse files
committed
Not useful
Signed-off-by: David Gageot <david.gageot@docker.com>
1 parent 9fd67fa commit 54db153

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

pkg/tools/mcp/toolset.go

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,8 @@ type mcpClient interface {
2727

2828
// Toolset represents a set of MCP tools
2929
type Toolset struct {
30-
mcpClient mcpClient
31-
logType string
32-
logID string
33-
30+
mcpClient mcpClient
31+
logID string
3432
instructions string
3533
started atomic.Bool
3634
}
@@ -43,7 +41,6 @@ func NewToolsetCommand(command string, args, env []string) *Toolset {
4341

4442
return &Toolset{
4543
mcpClient: newStdioCmdClient(command, args, env),
46-
logType: "command",
4744
logID: command,
4845
}
4946
}
@@ -54,7 +51,6 @@ func NewRemoteToolset(url, transport string, headers map[string]string, redirect
5451

5552
return &Toolset{
5653
mcpClient: newRemoteClient(url, transport, headers, redirectURI, NewInMemoryTokenStore()),
57-
logType: "remote",
5854
logID: url,
5955
}
6056
}

0 commit comments

Comments
 (0)