AI-notes-agent / tests /test_agent.py
Jaleed02's picture
Initial commit: Multi-User AI Study Agent
2d25973
Raw
History Blame Contribute Delete
387 Bytes
import sys
import os
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
from src.core.agent import generate_study_notes
try:
print("Testing API call...")
notes = generate_study_notes("This is a test of the study notes generator.")
print("Success! Output snippet:")
print(notes[:100])
except Exception as e:
print(f"Error occurred: {e}")