feat(test): Adding cross runtime tests suite for PocketPaw, LangChain, CrewAI#232
Open
Akshat-Raj wants to merge 8 commits intoqbtrix:mainfrom
Open
feat(test): Adding cross runtime tests suite for PocketPaw, LangChain, CrewAI#232Akshat-Raj wants to merge 8 commits intoqbtrix:mainfrom
Akshat-Raj wants to merge 8 commits intoqbtrix:mainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a new tests/cross_runtime/ test suite intended to validate .soul export/import round-trips when integrating with other agent runtimes (PocketPaw, LangChain, CrewAI), aligned with Issue #228.
Changes:
- Introduces three new async pytest tests for PocketPaw/LangChain/CrewAI integration scenarios.
- Adds documentation for running the cross-runtime suite and a pytest marker registration for
cross_runtime.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 12 comments.
Show a summary per file
| File | Description |
|---|---|
tests/cross_runtime/test_pocketpaw.py |
Adds a round-trip export/awaken test and asserts core/semantic/episodic persistence. |
tests/cross_runtime/test_langchain.py |
Adds a LangChain-skipped integration smoke test that wraps the system prompt in a SystemMessage. |
tests/cross_runtime/test_crewai.py |
Adds a CrewAI-skipped integration smoke test that injects the system prompt into an Agent backstory. |
tests/cross_runtime/readme.md |
Documents the new suite, optional dependencies, and Python version notes. |
tests/cross_runtime/conftest.py |
Registers the cross_runtime pytest marker. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+21
to
+25
| destination_file = str(tmp_path / "langchain_exported.soul") | ||
|
|
||
| await soul.export(destination_file) | ||
| recovered_soul = await Soul.awaken(destination_file) | ||
| assert "LangChain Agent" in recovered_soul.to_system_prompt() No newline at end of file |
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.
What does this PR do?
This PR adds a test suite for cross runtime integration for PocketPaw, LangChain, CrewAI.
Fixes #228
How to test
Checklist
uv run pytest tests/)uv run ruff check . && uv run ruff format --check .)feat:,fix:,docs:, etc.)