from google.genai import types | |
from CEO.CEO import GeminiManager | |
from CEO.tool_loader import ToolLoader | |
if __name__ == "__main__": | |
# Define the tool metadata for orchestration. | |
# Load the tools using the ToolLoader class. | |
tool_loader = ToolLoader() | |
model_manager = GeminiManager(toolsLoader=tool_loader, gemini_model="gemini-2.0-flash") | |
task_prompt = ( | |
"When did trumpcoin peak in price? " | |
) | |
# Request a CEO response with the prompt. | |
user_prompt_content = types.Content( | |
role='user', | |
parts=[types.Part.from_text(text=task_prompt)], | |
) | |
response = model_manager.request([user_prompt_content]) | |
print("\nCEO Response:", response) | |