Spaces:
Sleeping
Sleeping
Update tools/reddit.py
Browse files- tools/reddit.py +1 -0
tools/reddit.py
CHANGED
|
@@ -11,6 +11,7 @@ def get_reddit_client():
|
|
| 11 |
client_id = os.getenv('REDDIT_CLIENT_ID')
|
| 12 |
client_secret = os.getenv('REDDIT_CLIENT_SECRET')
|
| 13 |
user_agent = os.getenv('REDDIT_USER_AGENT', 'MCP Reddit Tool v1.0')
|
|
|
|
| 14 |
|
| 15 |
if not client_id or not client_secret:
|
| 16 |
raise ValueError("Missing REDDIT_CLIENT_ID or REDDIT_CLIENT_SECRET environment variables")
|
|
|
|
| 11 |
client_id = os.getenv('REDDIT_CLIENT_ID')
|
| 12 |
client_secret = os.getenv('REDDIT_CLIENT_SECRET')
|
| 13 |
user_agent = os.getenv('REDDIT_USER_AGENT', 'MCP Reddit Tool v1.0')
|
| 14 |
+
print(client_id,client_secret,user_agent)
|
| 15 |
|
| 16 |
if not client_id or not client_secret:
|
| 17 |
raise ValueError("Missing REDDIT_CLIENT_ID or REDDIT_CLIENT_SECRET environment variables")
|