remove more references

This commit is contained in:
Abi Raja 2024-04-10 15:38:03 -04:00
parent 60171bcc0b
commit c51ff4d7ad
2 changed files with 3 additions and 5 deletions

View File

@ -105,10 +105,9 @@ async def stream_code(websocket: WebSocket):
raise Exception("No auth token")
# Get the OpenAI key by waterfalling through the different payment methods
# 1. Subcription
# 2. Access code
# 3. User's API key from client-side settings dialog
# 4. User's API key from environment variable
# 1. Subscription
# 2. User's API key from client-side settings dialog
# 3. User's API key from environment variable
# If the user is a subscriber, use the platform API key
# TODO: Rename does_user_have_subscription_credits

View File

@ -13,7 +13,6 @@ class PaymentMethod(Enum):
UNKNOWN = "unknown"
OPENAI_API_KEY = "openai_api_key"
SUBSCRIPTION = "subscription"
ACCESS_CODE = "access_code"
async def send_to_saas_backend(