Skip to content

Conversation

@danielmillerp
Copy link
Contributor

Updated code and comments and tested in local:

================================================================================
Running All Agentic Tutorial Tests
================================================================================

✅ Prerequisites check passed


--------------------------------------------------------------------------------
Testing: 00_sync/000_hello_acp
--------------------------------------------------------------------------------
🚀 Starting 000_hello_acp agent...
✅ 000_hello_acp agent started (PID: 51464, logs: /tmp/agentex-000_hello_acp.log)
⏳ Waiting for 000_hello_acp agent to be ready...
✅ 000_hello_acp agent is ready
🧪 Running tests for 000_hello_acp...
=========================================================== test session starts ===========================================================
platform darwin -- Python 3.13.5, pytest-8.4.2, pluggy-1.6.0 -- /Users/daniel.miller/codebases/agentex-python/examples/tutorials/00_sync/000_hello_acp/.venv/bin/python
cachedir: .pytest_cache
rootdir: /Users/daniel.miller/codebases/agentex-python/examples/tutorials
configfile: pytest.ini
plugins: asyncio-1.2.0, anyio-4.11.0, ddtrace-3.17.2, xdist-3.8.0
asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
collected 2 items                                                                                                                         

tests/test_agent.py::TestNonStreamingMessages::test_send_simple_message PASSED
tests/test_agent.py::TestStreamingMessages::test_stream_simple_message PASSED

============================================================ 2 passed in 0.21s ============================================================
✅ Tests passed for 000_hello_acp
✅ PASSED: 00_sync/000_hello_acp
🛑 Stopping 000_hello_acp agent...
Stopping 000_hello_acp agent (PID: 51464)
✅ 000_hello_acp agent stopped
Logs available at: /tmp/agentex-000_hello_acp.log


--------------------------------------------------------------------------------
Testing: 00_sync/010_multiturn
--------------------------------------------------------------------------------
🚀 Starting 010_multiturn agent...
✅ 010_multiturn agent started (PID: 51487, logs: /tmp/agentex-010_multiturn.log)
⏳ Waiting for 010_multiturn agent to be ready...
✅ 010_multiturn agent is ready
🧪 Running tests for 010_multiturn...
=========================================================== test session starts ===========================================================
platform darwin -- Python 3.13.5, pytest-8.4.2, pluggy-1.6.0 -- /Users/daniel.miller/codebases/agentex-python/examples/tutorials/00_sync/010_multiturn/.venv/bin/python
cachedir: .pytest_cache
rootdir: /Users/daniel.miller/codebases/agentex-python/examples/tutorials
configfile: pytest.ini
plugins: asyncio-1.2.0, anyio-4.11.0, ddtrace-3.17.1
asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
collected 2 items                                                                                                                         

tests/test_agent.py::TestNonStreamingMessages::test_send_message PASSED
tests/test_agent.py::TestStreamingMessages::test_stream_message PASSED

=========================================================== 2 passed in 32.04s ============================================================
✅ Tests passed for 010_multiturn
✅ PASSED: 00_sync/010_multiturn
🛑 Stopping 010_multiturn agent...
Stopping 010_multiturn agent (PID: 51487)
✅ 010_multiturn agent stopped
Logs available at: /tmp/agentex-010_multiturn.log


--------------------------------------------------------------------------------
Testing: 00_sync/020_streaming
--------------------------------------------------------------------------------
🚀 Starting 020_streaming agent...
✅ 020_streaming agent started (PID: 51540, logs: /tmp/agentex-020_streaming.log)
⏳ Waiting for 020_streaming agent to be ready...
✅ 020_streaming agent is ready
🧪 Running tests for 020_streaming...
=========================================================== test session starts ===========================================================
platform darwin -- Python 3.13.5, pytest-8.4.2, pluggy-1.6.0 -- /Users/daniel.miller/codebases/agentex-python/examples/tutorials/00_sync/020_streaming/.venv/bin/python
cachedir: .pytest_cache
rootdir: /Users/daniel.miller/codebases/agentex-python/examples/tutorials
configfile: pytest.ini
plugins: asyncio-1.2.0, anyio-4.11.0, ddtrace-3.17.2
asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
collected 2 items                                                                                                                         

tests/test_agent.py::TestNonStreamingMessages::test_send_message PASSED
tests/test_agent.py::TestStreamingMessages::test_send_stream_message PASSED

=========================================================== 2 passed in 39.46s ============================================================
✅ Tests passed for 020_streaming
✅ PASSED: 00_sync/020_streaming
🛑 Stopping 020_streaming agent...
Stopping 020_streaming agent (PID: 51540)
✅ 020_streaming agent stopped
Logs available at: /tmp/agentex-020_streaming.log

@danielmillerp danielmillerp force-pushed the dm/update-sync-tutorials branch from 6c37392 to 8330261 Compare October 30, 2025 15:35
Copy link
Collaborator

@RoxyFarhad RoxyFarhad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't need to change the tests? I cant remember if they are checking for deltas correctly because it wasnt working

otherwise LGTM :)

@danielmillerp
Copy link
Contributor Author

don't need to change the tests? I cant remember if they are checking for deltas correctly because it wasnt working

otherwise LGTM :)

we are looking to see that we are getting chunks back, so should be good ! It was technically working with yields just not with run agent auto stream if that makes sense !

@danielmillerp danielmillerp merged commit 7b339f4 into main Oct 30, 2025
9 checks passed
@danielmillerp danielmillerp deleted the dm/update-sync-tutorials branch October 30, 2025 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants