Conversation
…ity and functionality
…andling in StreamChunks class
…d run IDs, and timestamp
…nced logging and streaming support
…tion tests - Introduced a new test suite for multiagent scenarios in `test_multiagent.py`, covering various workflows including single agent, sequential, and parallel executions. - Implemented tests for dependency injection and error handling in multiagent workflows. - Enhanced logging configuration tests in `test_utils.py` to cover default settings, custom levels, formats, and handlers. - Added tests to ensure logging output is captured correctly and that file handlers work as expected. - Fixed a bug in `test_pg_checkpointer.py` by updating the pool attribute to `_pg_pool`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several improvements and refactors to both the streaming React agent example and the PostgreSQL checkpointer implementation. The key changes focus on adding flexible synchronous and asynchronous streaming test modes, improving logging and debugging, and making the PostgreSQL connection pool initialization lazy for better resource management.
Streaming agent and test improvements:
stream_react_agent.pyfor running streaming, non-streaming, synchronous, and synchronous streaming tests, allowing easier testing of agent modes from the command line.main_agent_sync,main_agent_sync_stream, andmain_agent_non_streamimplementations, and corresponding graph setups for each test type. [1] [2]PostgreSQL checkpointer enhancements:
Enumtypes correctly, ensuring compatibility with JSON storage.Documentation update:
TESTING.mdfile, which previously described test setup and organization for the PyAgenity library.