Merge pull request #371 from Fosowl/dev

Fix readme typo
This commit is contained in:
Martin
2025-07-05 14:47:04 +02:00
committed by GitHub
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -648,7 +648,7 @@ Were 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.
<a href="https://serpapi.com/"><img src="./media/banners/sponsor_banner_serpapi.png" height="350" alt="SerpApi Banner" ></a>
+3 -3
View File
@@ -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', '')