Update test_bad_params.py

This commit is contained in:
Ishaan Jaff 2023-07-31 16:38:53 -07:00 committed by GitHub
parent 6160895651
commit 77608caeb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,16 @@
import sys, os
import traceback
sys.path.append('..') # Adds the parent directory to the system path
# Get the current directory of the script
current_dir = os.path.dirname(os.path.abspath(__file__))
# Get the parent directory by joining the current directory with '..'
parent_dir = os.path.join(current_dir, '..')
# Add the parent directory to the system path
sys.path.append(parent_dir)
import main
from main import embedding, completion
main.success_callback = ["posthog"]