fixed agents

This commit is contained in:
jad2121 2024-03-03 15:19:10 -05:00
parent 0f3ae3b5ce
commit 38a3539a6e

View File

@ -75,18 +75,19 @@ def main():
sys.exit()
if args.command == "agents":
from .agents.trip_planner.main import planner_cli
if args.ApiKeys:
AgentSetup().apiKeys()
sys.exit()
if not args.trip_planner:
print("Please provide an agent")
print(f"Available Agents:")
for agent in tripcrew.agents:
print(agent)
else:
sys.exit
elif args.trip_planner:
tripcrew = planner_cli()
tripcrew.ask()
sys.exit()
sys.exit()
if args.ApiKeys:
AgentSetup().run()
sys.exit()
if args.update:
Update()
Alias()