- Remove hardcoded FRED API key from autoresearch/prepare.py and thesis_portfolio_opt/research/experiment.py; load from .env via python-dotenv at module level instead - Add .env.example at root and update MiroFish/.env.example with CORS_ORIGINS and FRED_API_KEY documentation - Replace autoresearch/pyproject.toml: remove unused LLM deps (torch, rustbpe, tiktoken), add actual deps (scikit-learn, lightgbm, xgboost, fredapi, yfinance, cvxpy) - Fix PCA backtest bug in autoresearch/train.py: propagate fitted PCA/scaler transform through model dict so run_oos_backtest replays the same transform on live rows (B10 no longer crashes) - Fix MiroFish CORS wildcard: read allowed origins from CORS_ORIGINS env var, default to localhost dev origins - Add MiroFish test suite (36 tests): config validation, file parser, text processor, task manager, API health/blueprints - Pin upper bounds on thesis_portfolio_opt/requirements.txt Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
14 lines
459 B
Plaintext
14 lines
459 B
Plaintext
# Get a free FRED API key at: https://fred.stlouisfed.org/docs/api/api_key.html
|
|
FRED_API_KEY=your_fred_api_key_here
|
|
|
|
# MiroFish LLM configuration (OpenAI-compatible)
|
|
LLM_API_KEY=your_llm_api_key_here
|
|
LLM_BASE_URL=https://api.openai.com/v1
|
|
LLM_MODEL_NAME=gpt-4o-mini
|
|
|
|
# MiroFish Zep Cloud (for agent memory / knowledge graph)
|
|
ZEP_API_KEY=your_zep_api_key_here
|
|
|
|
# MiroFish CORS (comma-separated origins)
|
|
CORS_ORIGINS=http://localhost:3000,http://localhost:5173
|