Skip to content

Commit ab1e355

Browse files
committed
Add integration to span
1 parent ba62e8b commit ab1e355

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/mark3labs/mcp-go/mcpgo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func init() {
2525
func NewToolHandlerMiddleware() server.ToolHandlerMiddleware {
2626
return func(next server.ToolHandlerFunc) server.ToolHandlerFunc {
2727
return func(ctx context.Context, request mcp.CallToolRequest) (*mcp.CallToolResult, error) {
28-
toolSpan, ctx := llmobs.StartToolSpan(ctx, request.Params.Name)
28+
toolSpan, ctx := llmobs.StartToolSpan(ctx, request.Params.Name, llmobs.WithIntegration("mark3labs/mcp-go"))
2929

3030
result, err := next(ctx, request)
3131

0 commit comments

Comments
 (0)