27 lines
786 B
Python
27 lines
786 B
Python
#!/usr/bin/env python3
|
|
"""Eric's Daily Briefing — wrapper for the daily briefing engine."""
|
|
|
|
from daily_briefing import run
|
|
|
|
# Instance ID will be set after migration (updated by deploy script)
|
|
INSTANCE_ID = int(__import__('os').environ.get("ERIC_INSTANCE_ID", "0"))
|
|
|
|
CONFIG = {
|
|
"person": "Eric",
|
|
"agent_id": "eric-daily-briefing",
|
|
"instance_id": INSTANCE_ID,
|
|
"user_id": 2,
|
|
"wiki_collection_id": "5663a756-babe-4997-9d92-d02b53fce392", # Eric's ScratchPad
|
|
"wiki_parent_doc_id": "e61ba5be-057b-48aa-ab5e-6ecc248eb8c4", # Daily Briefings in Eric's ScratchPad
|
|
"location": {
|
|
"name": "Providence",
|
|
"state": "Utah",
|
|
"country": "US",
|
|
"lat": 41.7064,
|
|
"lon": -111.8133,
|
|
},
|
|
}
|
|
|
|
if __name__ == "__main__":
|
|
run(CONFIG)
|