mirror of
https://github.com/open-jarvis/OpenJarvis.git
synced 2026-07-30 19:02:16 +00:00
- Pull shared boilerplate (event emission, message building, generation, think-tag stripping) into BaseAgent concrete helpers and ToolUsingAgent intermediate base class with tool-call loop - Add NativeReActAgent and NativeOpenHandsAgent as clean implementations built on the new base classes - Simplify SimpleAgent, OrchestratorAgent, ReActAgent, OpenHandsAgent, and RLMAgent to use inherited helpers instead of duplicated logic - Remove CustomAgent (superseded by BaseAgent subclassing) - Add backward-compat tests, base agent tests, native agent tests Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
7 lines
288 B
Python
7 lines
288 B
Python
"""Backward-compat shim -- canonical location is agents.native_react."""
|
|
|
|
from openjarvis.agents.native_react import NativeReActAgent as ReActAgent # noqa: F401
|
|
from openjarvis.agents.native_react import REACT_SYSTEM_PROMPT # noqa: F401
|
|
|
|
__all__ = ["ReActAgent", "REACT_SYSTEM_PROMPT"]
|