Skip to content

Commit

Permalink
chore: Update Python version to 3.11 in mypy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
XuhuiZhou committed Jul 10, 2024
1 parent 352e881 commit cf2c12e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
max-parallel: 5
matrix:
python-version: ["3.10", "3.11", "3.12"]
python-version: ["3.11"]

steps:
- uses: actions/checkout@v3
Expand All @@ -40,6 +40,4 @@ jobs:
run: |
# Run this mypy instance against our main package.
poetry run pip install types-protobuf==4.24.0.4
poetry run mypy --install-types --non-interactive sotopia
poetry run mypy --install-types --non-interactive sotopia-chat
poetry run mypy --strict --exclude haicosystem/tools --exclude haicosystem/envs/llm_engine.py .
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,16 @@ conda env config vars set OPENAI_API_KEY=your_key
A redis-stack server is required to run the code. Please follow the instruction [here](https://docs.sotopia.world/#set-up-redis-stack) to set up the server.



The `REDIS_OM_URL` need to be set before loading and saving agents:
```bash
conda env config vars set REDIS_OM_URL="redis://user:password@host:port"
```

> [!IMPORTANT]
> Let's **temporarily** use `REDIS_OM_URL="redis://:AtSeeDFtZvFkYFwSPbZVDMx3@windhoek.sp.cs.cmu.edu:6379"
`

## Contribution
### Install dev options
```bash
Expand Down

0 comments on commit cf2c12e

Please sign in to comment.