Skip to content

Commit

Permalink
fixing bug in the agency
Browse files Browse the repository at this point in the history
       the_agency_1_1               | IsADirectoryError: [Errno 21] Is a directory: '/tmp/ai_settings.yaml'

this is popping up and has to do with docker. still looking into it.
my workaround is to  move it to another location
  • Loading branch information
mike dupont committed Oct 17, 2023
1 parent 8245873 commit 5106807
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,15 @@ services:
- ./vendor/Auto-GPT/autogpts/autogpt/ai_settings.yaml:/tmp/ai_settings.yaml

babyagi:
entrypoint: bash -c "python babyagi.py -y --ai-settings /tmp/ai_settings.yaml "
#
entrypoint: bash -c "python babyagi.py --mode "
environment:
- OBJECTIVE="Integrate babyagi with autogpt"
- INITIAL_TASK="Compare the babyagi to autogpt"
#- LLM_MODEL, DOTENV_EXTENSIONS,
- INSTANCE_NAME="baby-autogpt",
#COOPERATIVE_MODE,
#JOIN_EXISTING_OBJECTIVE
- GITHUB_PAT="${GITHUB_PAT}"
- GITHUB_REPO="jmikedupont2/ai-ticket"
- OPENAI_API_KEY=your-openai-api-key
Expand Down Expand Up @@ -208,6 +215,9 @@ services:
- ./vendor/Jarvis/autogpts/autogpt//app/ #mount the source in for editing witho
- ./tests/ai_settings.yaml:/tmp/ai_settings.yaml
the_agency_1:
depends_on:
- mockopenai

entrypoint: bash -c "poetry install && poetry run python -m autogpt -y --skip-news --ai-settings /tmp/ai_settings.yaml "
environment:
- GITHUB_PAT="${GITHUB_PAT}"
Expand All @@ -220,7 +230,7 @@ services:
volumes:
- ./vendor/TheAgency/benchmark:/benchmark
- ./vendor/TheAgency/autogpts/autogpt/:/app/ #mount the source in for editing witho
- ./vendor/Auto-GPT/autogpts/autogpt/the_agency_ai_settings.yaml:/tmp/ai_settings.yaml
- ./tests/ai_settings.yaml:/tmp/ai_settings.yaml
the_agency_2:
#entrypoint: bash -c "poetry run python -m autogpt -y --skip-news --ai-settings /tmp/ai_settings.yaml "
entrypoint: bash
Expand Down

0 comments on commit 5106807

Please sign in to comment.