first commit
This commit is contained in:
commit
9d9bdbb1ce
136 files changed
+5103
No files matched your search
@@ -0,0 +1,6 @@
|
||||
from .engine import AgentEngine
|
||||
from .react import ReActAgent
|
||||
from .plan_execute import PlanAndExecuteAgent
|
||||
|
||||
|
||||
__all__ = ["AgentEngine", "ReActAgent", "PlanAndExecuteAgent"]
|
||||
@@ -0,0 +1,6 @@
|
||||
class AgentEngine:
|
||||
def __init__(self, config):
|
||||
self.config = config
|
||||
|
||||
def run(self, prompt, tools=None):
|
||||
raise NotImplementedError
|
||||
@@ -0,0 +1,6 @@
|
||||
from .engine import AgentEngine
|
||||
|
||||
|
||||
class PlanAndExecuteAgent(AgentEngine):
|
||||
def run(self, prompt, tools=None):
|
||||
pass
|
||||
@@ -0,0 +1,6 @@
|
||||
from .engine import AgentEngine
|
||||
|
||||
|
||||
class ReActAgent(AgentEngine):
|
||||
def run(self, prompt, tools=None):
|
||||
pass
|
||||
Reference in new issue
Block a user