Spaces:
Paused
Paused
Mirrowel commited on
Commit ·
f47e722
1
Parent(s): 3d24817
docs(config): document source of provider client IDs
Browse filesAdd inline comments to `CLIENT_ID` and `CLIENT_SECRET` definitions in auth base files to reference the external configuration file where these values are used.
src/rotator_library/providers/gemini_auth_base.py
CHANGED
|
@@ -13,8 +13,8 @@ import httpx
|
|
| 13 |
|
| 14 |
lib_logger = logging.getLogger('rotator_library')
|
| 15 |
|
| 16 |
-
CLIENT_ID = "681255809395-oo8ft2oprdrnp9e3aqf6av3hmdib135j.apps.googleusercontent.com"
|
| 17 |
-
CLIENT_SECRET = "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"
|
| 18 |
TOKEN_URI = "https://oauth2.googleapis.com/token"
|
| 19 |
REFRESH_EXPIRY_BUFFER_SECONDS = 300
|
| 20 |
|
|
|
|
| 13 |
|
| 14 |
lib_logger = logging.getLogger('rotator_library')
|
| 15 |
|
| 16 |
+
CLIENT_ID = "681255809395-oo8ft2oprdrnp9e3aqf6av3hmdib135j.apps.googleusercontent.com" ##https://api.kilocode.ai/extension-config.json
|
| 17 |
+
CLIENT_SECRET = "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" ##https://api.kilocode.ai/extension-config.json
|
| 18 |
TOKEN_URI = "https://oauth2.googleapis.com/token"
|
| 19 |
REFRESH_EXPIRY_BUFFER_SECONDS = 300
|
| 20 |
|
src/rotator_library/providers/qwen_auth_base.py
CHANGED
|
@@ -14,7 +14,7 @@ import httpx
|
|
| 14 |
|
| 15 |
lib_logger = logging.getLogger('rotator_library')
|
| 16 |
|
| 17 |
-
CLIENT_ID = "f0304373b74a44d2b584a3fb70ca9e56"
|
| 18 |
TOKEN_ENDPOINT = "https://chat.qwen.ai/api/v1/oauth2/token"
|
| 19 |
REFRESH_EXPIRY_BUFFER_SECONDS = 300
|
| 20 |
|
|
|
|
| 14 |
|
| 15 |
lib_logger = logging.getLogger('rotator_library')
|
| 16 |
|
| 17 |
+
CLIENT_ID = "f0304373b74a44d2b584a3fb70ca9e56" ##https://api.kilocode.ai/extension-config.json
|
| 18 |
TOKEN_ENDPOINT = "https://chat.qwen.ai/api/v1/oauth2/token"
|
| 19 |
REFRESH_EXPIRY_BUFFER_SECONDS = 300
|
| 20 |
|