Skip to content

Commit 3172d8f

Browse files
authored
Update for-tool-callers.md
Replace from utcp import UtcpClient with from utcp.client.utcp_client import UtcpClient, and replace from utcp.models import Provider with from utcp.shared.provider import HttpProvider.
1 parent ae3bd90 commit 3172d8f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/for-tool-callers/for-tool-callers.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ The `utcp` package provides a ready-to-use client for discovering and calling to
2323

2424
```python
2525
import asyncio
26-
from utcp import UtcpClient
27-
from utcp.models import Provider
26+
from utcp.client.utcp_client import UtcpClient
27+
from utcp.shared.provider import HttpProvider
2828

2929
async def main():
3030
# Create a UTCP client
@@ -163,7 +163,7 @@ When you register a provider with the `UtcpClient`, you are registering a **manu
163163
The UTCP client supports various authentication methods through provider configuration:
164164

165165
```python
166-
from utcp import UtcpClient
166+
from utcp.client.utcp_client import UtcpClient
167167
from utcp.shared.provider import HttpProvider
168168

169169
client = UtcpClient()
@@ -207,7 +207,7 @@ For more complex applications, you can configure the `UtcpClient` using a config
207207
You can initialize the client by passing configuration parameters directly:
208208

209209
```python
210-
from utcp import UtcpClient
210+
from utcp.client.utcp_client import UtcpClient
211211

212212
# Initialize client with configuration parameters
213213
client = await UtcpClient.create(

0 commit comments

Comments
 (0)