diff --git a/agents/weather_briefing.py b/agents/weather_briefing.py index d35a54d..6d8e6d5 100644 --- a/agents/weather_briefing.py +++ b/agents/weather_briefing.py @@ -17,7 +17,8 @@ AGENT_ID = "weather-briefing" WIKI_API = "https://wiki.jfamily.io/api" WIKI_TOKEN = os.environ.get("WIKI_TOKEN", "ol_api_yHXypRyqf4CscWDzPluGfPev9GhdFg6mwrXwkT") -WIKI_COLLECTION_ID = os.environ.get("WIKI_COLLECTION_ID", "9d9e471c-84cd-4ba7-bae5-c70f61805228") # Set after collection creation +WIKI_COLLECTION_ID = os.environ.get("WIKI_COLLECTION_ID", "9d9e471c-84cd-4ba7-bae5-c70f61805228") +WIKI_PARENT_DOC_ID = os.environ.get("WIKI_PARENT_DOC_ID", "2a891fe8-579b-450b-a663-de93915896b7") # Eric's Daily Briefing # Providence, UT LAT = 41.7064 @@ -153,6 +154,7 @@ def post_to_wiki(markdown, date_str): "title": title, "text": markdown, "collectionId": WIKI_COLLECTION_ID, + "parentDocumentId": WIKI_PARENT_DOC_ID, "publish": True, }, headers=headers,