|
@@ -5,7 +5,6 @@ from opendevin.core.config import AgentConfig
|
|
|
from opendevin.core.message import ImageContent, Message, TextContent
|
|
from opendevin.core.message import ImageContent, Message, TextContent
|
|
|
from opendevin.events.action import Action, AgentFinishAction
|
|
from opendevin.events.action import Action, AgentFinishAction
|
|
|
from opendevin.llm.llm import LLM
|
|
from opendevin.llm.llm import LLM
|
|
|
-from opendevin.runtime.tools import RuntimeTool
|
|
|
|
|
|
|
|
|
|
from .prompt import get_prompt_and_images
|
|
from .prompt import get_prompt_and_images
|
|
|
|
|
|
|
@@ -16,7 +15,6 @@ class PlannerAgent(Agent):
|
|
|
The planner agent utilizes a special prompting strategy to create long term plans for solving problems.
|
|
The planner agent utilizes a special prompting strategy to create long term plans for solving problems.
|
|
|
The agent is given its previous action-observation pairs, current task, and hint based on last action taken at every step.
|
|
The agent is given its previous action-observation pairs, current task, and hint based on last action taken at every step.
|
|
|
"""
|
|
"""
|
|
|
- runtime_tools: list[RuntimeTool] = [RuntimeTool.BROWSER]
|
|
|
|
|
response_parser = PlannerResponseParser()
|
|
response_parser = PlannerResponseParser()
|
|
|
|
|
|
|
|
def __init__(self, llm: LLM, config: AgentConfig):
|
|
def __init__(self, llm: LLM, config: AgentConfig):
|