Skip to content

Commit 4b3ea82

Browse files
authored
fix: correct syntax error and typo in Python examples (#625)
1 parent 551e563 commit 4b3ea82

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/python/snippets/streaming/adk-streaming-ws/app/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ async def agent_to_client_messaging(websocket, live_events):
118118
print(f"[AGENT TO CLIENT]: audio/pcm: {len(audio_data)} bytes.")
119119
continue
120120

121-
# If it's text and a parial text, send it
121+
# If it's text and a partial text, send it
122122
if part.text and event.partial:
123123
message = {
124124
"mime_type": "text/plain",

examples/python/snippets/tools/built-in-tools/code_execution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
session_service = InMemorySessionService()
4242
session = asyncio.run(session_service.create_session(
4343
app_name=APP_NAME, user_id=USER_ID, session_id=SESSION_ID
44-
)
44+
))
4545
runner = Runner(agent=code_agent, app_name=APP_NAME,
4646
session_service=session_service)
4747

0 commit comments

Comments
 (0)