add breaking change warning

This commit is contained in:
Disha Prakash
2026-02-16 10:11:16 +00:00
parent fa6a288a99
commit 6bfe2324ef

View File

@@ -39,7 +39,13 @@ from Toolbox.
go mod init main
```
1. In a new terminal, install the SDK Module:
1. In a new terminal, install the Go SDK Module:
> [!IMPORTANT]
> **Breaking Change Notice**: As of version `0.6.0`, this SDK has transitioned to a multi-module structure.
> * **For new versions (`v0.6.0`+)**: You must import specific modules (e.g., `go get github.com/googleapis/mcp-toolbox-sdk-go/core`).
> * **For older versions (`v0.5.1` and below)**: The repository remains a single-module library (`go get github.com/googleapis/mcp-toolbox-sdk-go`).
> * Please update your imports and `go.mod` accordingly when upgrading.
{{< tabpane persist=header >}}
{{< tab header="LangChain Go" lang="bash" >}}
go get github.com/googleapis/mcp-toolbox-sdk-go/core
@@ -66,7 +72,7 @@ from Toolbox.
{{< /tab >}}
{{< /tabpane >}}
2. Create a new file named `hotelagent.go` and copy the following code to create
1. Create a new file named `hotelagent.go` and copy the following code to create
an agent:
{{< tabpane persist=header >}}