Feat : text to speech & flight api

This commit is contained in:
martin legrand
2025-03-02 20:51:50 +01:00
parent c2c1c7f09f
commit 0c0536c43a
9 changed files with 306 additions and 8 deletions
+4 -1
View File
@@ -2,6 +2,8 @@
from sources.utility import pretty_print
from sources.agent import Agent
from sources.tools.webSearch import webSearch
from sources.tools.flightSearch import FlightSearch
class CasualAgent(Agent):
def __init__(self, model, name, prompt_path, provider):
"""
@@ -9,7 +11,8 @@ class CasualAgent(Agent):
"""
super().__init__(model, name, prompt_path, provider)
self.tools = {
"web_search": webSearch()
"web_search": webSearch(),
"flight_search": FlightSearch()
}
self.role = "talking"