2025-05-20 20:49:50 +08:00
|
|
|
from src.agents.registry import BaseAgent
|
2025-03-29 19:13:56 +08:00
|
|
|
|
|
|
|
|
class ReActAgent(BaseAgent):
|
2025-06-29 15:43:40 +08:00
|
|
|
name = "ReAct"
|
2025-03-29 19:13:56 +08:00
|
|
|
description = "A react agent that can answer questions and help with tasks."
|
|
|
|
|
|
2025-05-20 22:21:51 +08:00
|
|
|
async def get_graph(self, **kwargs):
|
2025-03-31 22:20:29 +08:00
|
|
|
from .workflows import graph
|
2025-07-26 03:36:54 +08:00
|
|
|
return graph
|