feat(planner): adopt native Pydantic AI runtime - #196
Open
wilburx813 wants to merge 2 commits into
Open
wilburx813 wants to merge 2 commits into
wilburx813 wants to merge 2 commits into
Conversation
Documentation build overview
2 files changed± rst_source/development/architecture.html± rst_source/usage/configure_planner.html |
Documentation build overview
2 files changed± rst_source/development/architecture.html± rst_source/usage/configure_planner.html |
qurakchin
approved these changes
Sep 17, 2026
| logger = get_logger("api") | ||
|
|
||
|
|
||
| class ApiAgentLoop: |
Collaborator
There was a problem hiding this comment.
please add an abstract base class for planners
| from pydantic_ai.messages import ModelMessage, UserContent | ||
| from pydantic_ai.models import Model, ModelRequestContext | ||
| from pydantic_ai.run import AgentRun, AgentRunResult | ||
| from pydantic_ai_harness.compaction import SlidingWindowCompaction |
Collaborator
There was a problem hiding this comment.
Is only the SlidingWindowCompaction feature in the pydantic harness used?
qurakchin
self-requested a review
September 17, 2026 07:49
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.
Description
steering and cancellation.
retain Anthropic prompt caching.
Testing
Local checks with Python 3.12:
pre-commit run --all-files: passed.python -m pytest tests/unit_tests -q -ra: 598 passed, 3 skippeddue to missing optional RLinf and LeRobot dependencies.
sphinx-build -W --keep-going docs/source-en docs/build/html-en: passed.sphinx-build -W --keep-going docs/source-zh docs/build/html-zh: passed.python -m rpent.cli.main --help, API planner import, andpip check: passed.Manual verification
No live model API, simulator, or real-robot verification performed.
Checklist