-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Labels
Description
The task is to implement SpaceResearchTool class that wraps the existing functions and can be imported by the planner or LLM agent.
Acceptance Criteria
-
Code is added in
src/agents/research_tool.py -
The file defines a class named
SpaceResearchTool -
The class contains:
- A method
nasa_image_search(query: str) -> dict - A method
get_mission_details(name: str) -> dict
- A method
-
Both methods internally call the already existing standalone functions :
-
nasa_image_search -
get_mission_details -
The class must not implement new logic; it should only wrap the existing functions.
-
The class must follow this structure:
class SpaceResearchTool:
def __init__(self):
pass
def nasa_image_search(self, query: str) -> dict:
# call existing nasa_image_search(query)
pass
def get_mission_details(self, name: str) -> dict:
# call existing get_mission_details(name)
pass