mirror of
https://github.com/TauricResearch/TradingAgents.git
synced 2026-11-20 08:09:56 +02:00
feat(cli): tell people at a terminal about a newer release and Tauric's notices
- once a day a background thread records the latest GitHub release and the notices for each version; the welcome screen shows them from that cache, so no run waits on the network - the release notice names the upgrade command for how TradingAgents was installed - TRADINGAGENTS_NO_UPDATE_CHECK=1 turns the check off; unattended and CI runs never make it - notices are read from a new `notices` key, so earlier versions keep reading `announcements`
This commit is contained in:
+3
-1
@@ -12,8 +12,10 @@ RUN pip install --no-cache-dir .
|
||||
|
||||
FROM python:3.13-slim
|
||||
|
||||
# TRADINGAGENTS_IN_DOCKER lets an update notice name the rebuild command.
|
||||
ENV PYTHONDONTWRITEBYTECODE=1 \
|
||||
PYTHONUNBUFFERED=1
|
||||
PYTHONUNBUFFERED=1 \
|
||||
TRADINGAGENTS_IN_DOCKER=1
|
||||
|
||||
COPY --from=builder /opt/venv /opt/venv
|
||||
ENV PATH="/opt/venv/bin:$PATH"
|
||||
|
||||
Reference in New Issue
Block a user