This commit is contained in:
2026-07-19 19:51:21 +00:00
committed by Typosaurus
parent 0b13729c04
commit de8ce7c0b2
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}"