remove more references
This commit is contained in:
parent
60171bcc0b
commit
c51ff4d7ad
@ -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
|
||||
|
||||
@ -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(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user