File size: 387 Bytes
2d25973
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
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}")