Update notification service

This commit is contained in:
MacRimi
2026-03-23 17:49:39 +01:00
parent cd123b3479
commit 168726c131
4 changed files with 10 additions and 3 deletions

View File

@@ -38,7 +38,10 @@ class GroqProvider(AIProvider):
try:
req = urllib.request.Request(
self.MODELS_URL,
headers={'Authorization': f'Bearer {self.api_key}'},
headers={
'Authorization': f'Bearer {self.api_key}',
'User-Agent': 'ProxMenux/1.0' # Cloudflare blocks requests without User-Agent
},
method='GET'
)