Skip to content

Commit d737c63

Browse files
warm-wmagentkit-git
authored andcommitted
use api_server in google-adk==2.2.0
[no-workitem] GitOrigin-RevId: 29f2590d531e1dc190258c3c7c66cc8e77b43413
1 parent 17d2a8b commit d737c63

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • python/01-tutorials/04-agentkit-tools/aio_sandbox

‎python/01-tutorials/04-agentkit-tools/aio_sandbox/client.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
import httpx
44
import requests
5-
from google.adk.cli.adk_web_server import CreateSessionRequest, RunAgentRequest
5+
from google.adk.cli.api_server import CreateSessionRequest, RunAgentRequest
66
from google.genai.types import Content, Part
77

88
if __name__ == "__main__":
99
# Step 0: setup running configs
10-
app_name = "agentkit_app"
11-
user_id = "agentkit_user"
12-
session_id = "agentkit_session"
10+
app_name = "code_agent"
11+
user_id = "code_user"
12+
session_id = "code_session"
1313
base_url = "http://127.0.0.1:8000"
1414
api_key = "agentkit test key"
1515

0 commit comments

Comments
 (0)