jeanbaptdzd's picture
Initial commit: FastAPI service with OpenAI-compatible API and PRIIPs extraction
f6fdf6a
raw
history blame
217 Bytes
import os
import sys
# Ensure project root is on sys.path so `import app` works in tests
ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
if ROOT not in sys.path:
sys.path.insert(0, ROOT)