mirror of
https://github.com/TauricResearch/TradingAgents.git
synced 2026-09-19 11:15:24 +03:00
- uv alternative to conda and pip - rebuild the Docker image after updating
This commit is contained in:
10
README.md
10
README.md
@@ -110,7 +110,13 @@ conda create -n tradingagents python=3.12
|
|||||||
conda activate tradingagents
|
conda activate tradingagents
|
||||||
```
|
```
|
||||||
|
|
||||||
Install the package and its dependencies:
|
Or with [uv](https://docs.astral.sh/uv/):
|
||||||
|
```bash
|
||||||
|
uv venv --python 3.12
|
||||||
|
source .venv/bin/activate
|
||||||
|
```
|
||||||
|
|
||||||
|
Install the package and its dependencies (`uv pip install .` with uv):
|
||||||
```bash
|
```bash
|
||||||
pip install .
|
pip install .
|
||||||
```
|
```
|
||||||
@@ -123,6 +129,8 @@ cp .env.example .env # add your API keys
|
|||||||
docker compose run --rm tradingagents
|
docker compose run --rm tradingagents
|
||||||
```
|
```
|
||||||
|
|
||||||
|
After updating the repository, rebuild the image with `docker compose build`.
|
||||||
|
|
||||||
For local models with Ollama:
|
For local models with Ollama:
|
||||||
```bash
|
```bash
|
||||||
docker compose --profile ollama run --rm tradingagents-ollama
|
docker compose --profile ollama run --rm tradingagents-ollama
|
||||||
|
|||||||
Reference in New Issue
Block a user