Spaces:
Running
Running
File size: 382 Bytes
b659042 8cd4896 b659042 d262fc5 8cd4896 b659042 8cd4896 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | """
OpenCode Space Gateway Entrypoint
================================
Imports the modular FastAPI application from the gateway package.
"""
import sys
import os
# Ensure the directory containing proxy.py is in sys.path
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
if BASE_DIR not in sys.path:
sys.path.insert(0, BASE_DIR)
from gateway import app
__all__ = ["app"]
|