diff --git a/.dockerignore b/.dockerignore index cac710188..b3c7de124 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,6 +1,6 @@ .git .venv -.env +**/.env* .claude .idea .vscode diff --git a/README.md b/README.md index cedcdb1e5..893424ff2 100644 --- a/README.md +++ b/README.md @@ -182,7 +182,7 @@ export ALPHA_VANTAGE_API_KEY=... # Alpha Vantage export TYPESAFE_API_KEY=... # Jev social-post screening (optional) ``` -For Azure OpenAI, copy `.env.enterprise.example` to `.env.enterprise` and fill in your credentials. +For Azure OpenAI, copy `.env.enterprise.example` to `.env.enterprise` and fill in your credentials. With Docker, put these keys in `.env` instead: the image does not include `.env` files. To run on your ChatGPT Plus or Pro plan instead of an API key, choose "Subscription" in the CLI's provider menu, or set `llm_provider: "chatgpt"`. Sign in once with `tradingagents login chatgpt`: it prints an address to open in your browser, which returns to this machine on `127.0.0.1`. When the browser runs on another machine, or TradingAgents runs in Docker (`docker compose run --rm tradingagents login chatgpt`), paste the address the browser ends up on. The sign-in is kept in `~/.tradingagents/chatgpt-auth.json`, and `tradingagents logout chatgpt` revokes it. Runs count toward your plan's usage limits, and the plan does not accept `temperature` or `max_tokens`.