Skip to content

Commit

Permalink
adding babyagi
Browse files Browse the repository at this point in the history
error:
Creating ai-ticket_babyagi_run ...
Traceback (most recent call last):
  File "/app/babyagi.py", line 14, in <module>
    import chromadb
  File "/usr/local/lib/python3.11/site-packages/chromadb/__init__.py", line 1, in <module>
    import chromadb.config
  File "/usr/local/lib/python3.11/site-packages/chromadb/config.py", line 1, in <module>
    from pydantic import BaseSettings
  File "/usr/local/lib/python3.11/site-packages/pydantic/__init__.py", line 218, in __getattr__
    return _getattr_migration(attr_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/pydantic/_migration.py", line 294, in wrapper
    raise PydanticImportError(
pydantic.errors.PydanticImportError: `BaseSettings` has been moved to the `pydantic-settings` package. See https://docs.pydantic.dev/2.4/migration/#basesettings-has-moved-to-pydantic-settings for more details.

For further information visit https://errors.pydantic.dev/2.4/u/import-error
ERROR: 1
  • Loading branch information
mike dupont committed Oct 15, 2023
1 parent 6cf934d commit 82934d1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,19 @@ services:
- ./vendor/Auto-GPT-aj/:/app/ #mount the source in for editing witho
- ./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 "
environment:
- GITHUB_PAT="${GITHUB_PAT}"
- GITHUB_REPO="jmikedupont2/ai-ticket"
- OPENAI_API_KEY=your-openai-api-key
- OPENAI_API_BASE=http://mockopenai:5000/v1
build:
context: vendor/babyagi
volumes:
- ./vendor/babyagi/:/app/ #mount the source in for editing witho
- ./vendor/Auto-GPT/autogpts/autogpt/ai_settings.yaml:/tmp/ai_settings.yaml

# vendor/babyagi/Dockerfile
# vendor/ScottGPT/autogpts/autogpt/.devcontainer/Dockerfile
# vendor/ScottGPT/autogpts/autogpt/Dockerfile
Expand Down

0 comments on commit 82934d1

Please sign in to comment.