Commit ·
7fc098b
1
Parent(s): 199b465
feat: 普通账号支持使用banana pro模型
Browse files
src/services/load_balancer.py
CHANGED
|
@@ -49,12 +49,6 @@ class LoadBalancer:
|
|
| 49 |
filtered_reasons[token.id] = "AT无效或已过期"
|
| 50 |
continue
|
| 51 |
|
| 52 |
-
# Filter for gemini-3.0 models (skip free tier tokens)
|
| 53 |
-
if model and model in ["gemini-3.0-pro-image-landscape", "gemini-3.0-pro-image-portrait"]:
|
| 54 |
-
if token.user_paygate_tier == "PAYGATE_TIER_NOT_PAID":
|
| 55 |
-
filtered_reasons[token.id] = "gemini-3.0模型不支持普通账号"
|
| 56 |
-
continue
|
| 57 |
-
|
| 58 |
# Filter for image generation
|
| 59 |
if for_image_generation:
|
| 60 |
if not token.image_enabled:
|
|
|
|
| 49 |
filtered_reasons[token.id] = "AT无效或已过期"
|
| 50 |
continue
|
| 51 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 52 |
# Filter for image generation
|
| 53 |
if for_image_generation:
|
| 54 |
if not token.image_enabled:
|