Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ celerybeat.pid
*.sage.py

# Environments
.env
.env*
.venv
.venv*
env/
Expand Down
4 changes: 2 additions & 2 deletions samples/python/agents/helloworld/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ async def main() -> None:
)

response = await client.send_message(request)
print(response.model_dump(mode='json', exclude_none=True))
logger.info(f"Send Message : {response.model_dump(mode='json', exclude_none=True)}")
# --8<-- [end:send_message]

# --8<-- [start:send_message_streaming]
Expand All @@ -133,7 +133,7 @@ async def main() -> None:
stream_response = client.send_message_streaming(streaming_request)

async for chunk in stream_response:
print(chunk.model_dump(mode='json', exclude_none=True))
logger.info(f"Streaming Request : {chunk.model_dump(mode='json', exclude_none=True)}")
# --8<-- [end:send_message_streaming]


Expand Down
2 changes: 2 additions & 0 deletions samples/python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
a2a-sdk
uvicorn
python-dotenv
starlette
sse-starlette