This commit is contained in:
2026-07-19 18:57:43 +02:00
parent 48bb6c2ec2
commit c53e2a3319
179 changed files with 9307 additions and 897 deletions
+2 -1
View File
@@ -594,6 +594,7 @@ class NewsService(BaseService):
headers = {
"Content-Type": "application/json",
"X-App-Reference": "devplace-news-v-1-0-0",
}
ai_key = _get_ai_key()
if ai_key:
@@ -646,7 +647,7 @@ class NewsService(BaseService):
"temperature": 0.3,
}
headers = {"Content-Type": "application/json"}
headers = {"Content-Type": "application/json", "X-App-Reference": "devplace-news-v-1-0-0"}
ai_key = _get_ai_key()
if ai_key:
headers["Authorization"] = f"Bearer {ai_key}"