From 3e652a6b99a3b667f1943a81a4c5500f64524c2b Mon Sep 17 00:00:00 2001 From: martin Date: Sat, 5 Jul 2025 14:45:43 +0200 Subject: [PATCH] update readme --- README.md | 2 +- sources/tools/flightSearch.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 03caee3..bf1d5da 100644 --- a/README.md +++ b/README.md @@ -582,7 +582,7 @@ We’re looking for developers to improve AgenticSeek! Check out open issues or ## Sponsors: -Want to level up AgenticSeek capabilities with features like flight search, trip planning, or snagging the best shopping deals? Consider crafting a custom tool with SerpAPI to unlock more Jarvis-like capabilities. With SerpAPI, you can turbocharge your agent for specialized tasks while staying in full control. +Want to level up AgenticSeek capabilities with features like flight search, trip planning, or snagging the best shopping deals? Consider crafting a custom tool with SerpApi to unlock more Jarvis-like capabilities. With SerpApi, you can turbocharge your agent for specialized tasks while staying in full control. SerpApi Banner diff --git a/sources/tools/flightSearch.py b/sources/tools/flightSearch.py index 18e701f..8266c92 100644 --- a/sources/tools/flightSearch.py +++ b/sources/tools/flightSearch.py @@ -12,17 +12,17 @@ from sources.tools.tools import Tools class FlightSearch(Tools): def __init__(self, api_key: str = None): """ - A tool to search for flight information using a flight number via SerpAPI. + A tool to search for flight information using a flight number via SerpApi. """ super().__init__() self.tag = "flight_search" self.name = "Flight Search" - self.description = "Search for flight information using a flight number via SerpAPI." + self.description = "Search for flight information using a flight number via SerpApi." self.api_key = api_key or os.getenv("SERPAPI_API_KEY") def execute(self, blocks: str, safety: bool = True) -> str: if self.api_key is None: - return "Error: No SerpAPI key provided." + return "Error: No SerpApi key provided." for block in blocks: flight_number = block.strip().upper().replace('\n', '')