mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
Currently, there is no support for passing files in the platform, each generated file should be hosted somewhere. This PR adds support of passing files temporarily during the execution to open up more block that does multimedia operations. <img width="583" alt="image" src="https://github.com/user-attachments/assets/c285de5a-c2a9-41a0-9be1-305a316879d6" /> <img width="1291" alt="image" src="https://github.com/user-attachments/assets/d7bcaf38-80fa-4b51-91da-b4eed80a02c1" /> ### Changes 🏗️ * Add media support for passing files (local files, base64, URL) and `FileStoreBlock` (file version of `StoreValueBlock`) * Add initial multimedia blocks: `LoopVideoBlock` & `AddAudioToVideoBlock`. ### Checklist 📋 #### For code changes: - [ ] I have clearly listed my changes in the PR description - [ ] I have made a test plan - [ ] I have tested my changes according to the test plan: <!-- Put your test plan here: --> - [ ] ... <details> <summary>Example test plan</summary> - [ ] Create from scratch and execute an agent with at least 3 blocks - [ ] Import an agent from file upload, and confirm it executes correctly - [ ] Upload agent to marketplace - [ ] Import an agent from marketplace and confirm it executes correctly - [ ] Edit an agent from monitor, and confirm it executes correctly </details> #### For configuration changes: - [ ] `.env.example` is updated or already compatible with my changes - [ ] `docker-compose.yml` is updated or already compatible with my changes - [ ] I have included a list of my configuration changes in the PR description (under **Changes**) <details> <summary>Examples of configuration changes</summary> - Changing ports - Adding new services that need to communicate with each other - Secrets or environment variable changes - New or infrastructure changes such as databases </details> --------- Co-authored-by: Nicholas Tindle <nicholas.tindle@agpt.co>
104 lines
2.2 KiB
TOML
104 lines
2.2 KiB
TOML
[tool.poetry]
|
|
name = "autogpt-platform-backend"
|
|
version = "0.3.4"
|
|
description = "A platform for building AI-powered agentic workflows"
|
|
authors = ["AutoGPT <info@agpt.co>"]
|
|
readme = "README.md"
|
|
packages = [{ include = "backend", format = "sdist" }]
|
|
|
|
|
|
[tool.poetry.dependencies]
|
|
python = ">=3.10,<3.13"
|
|
aio-pika = "^9.5.4"
|
|
anthropic = "^0.40.0"
|
|
apscheduler = "^3.11.0"
|
|
autogpt-libs = { path = "../autogpt_libs", develop = true }
|
|
click = "^8.1.7"
|
|
discord-py = "^2.4.0"
|
|
e2b-code-interpreter = "^1.0.1"
|
|
fastapi = "^0.115.5"
|
|
feedparser = "^6.0.11"
|
|
flake8 = "^7.0.0"
|
|
google-api-python-client = "^2.154.0"
|
|
google-auth-oauthlib = "^1.2.1"
|
|
groq = "^0.13.1"
|
|
jinja2 = "^3.1.4"
|
|
jsonref = "^1.1.0"
|
|
jsonschema = "^4.22.0"
|
|
ollama = "^0.4.1"
|
|
openai = "^1.57.4"
|
|
praw = "~7.8.1"
|
|
prisma = "^0.15.0"
|
|
psutil = "^6.1.0"
|
|
pydantic = "^2.9.2"
|
|
pydantic-settings = "^2.3.4"
|
|
pyro5 = "^5.15"
|
|
pytest = "^8.2.1"
|
|
pytest-asyncio = "^0.25.0"
|
|
python-dotenv = "^1.0.1"
|
|
redis = "^5.2.0"
|
|
sentry-sdk = "2.19.2"
|
|
strenum = "^0.4.9"
|
|
stripe = "^11.3.0"
|
|
supabase = "2.11.0"
|
|
tenacity = "^9.0.0"
|
|
tweepy = "^4.14.0"
|
|
uvicorn = { extras = ["standard"], version = "^0.34.0" }
|
|
websockets = "^13.1"
|
|
youtube-transcript-api = "^0.6.2"
|
|
googlemaps = "^4.10.0"
|
|
replicate = "^1.0.4"
|
|
pinecone = "^5.3.1"
|
|
cryptography = "^43.0"
|
|
python-multipart = "^0.0.20"
|
|
sqlalchemy = "^2.0.36"
|
|
psycopg2-binary = "^2.9.10"
|
|
google-cloud-storage = "^2.18.2"
|
|
launchdarkly-server-sdk = "^9.8.0"
|
|
moviepy = "^2.1.2"
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
poethepoet = "^0.32.1"
|
|
httpx = "^0.27.0"
|
|
pytest-watcher = "^0.4.2"
|
|
requests = "^2.32.3"
|
|
ruff = "^0.9.2"
|
|
pyright = "^1.1.392"
|
|
isort = "^5.13.2"
|
|
black = "^24.10.0"
|
|
aiohappyeyeballs = "^2.4.4"
|
|
pytest-mock = "^3.14.0"
|
|
faker = "^33.3.1"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[tool.poetry.scripts]
|
|
app = "backend.app:main"
|
|
rest = "backend.rest:main"
|
|
ws = "backend.ws:main"
|
|
executor = "backend.exec:main"
|
|
cli = "backend.cli:main"
|
|
format = "linter:format"
|
|
lint = "linter:lint"
|
|
test = "run_tests:test"
|
|
|
|
[tool.isort]
|
|
profile = "black"
|
|
|
|
[tool.pytest-watcher]
|
|
now = false
|
|
clear = true
|
|
delay = 0.2
|
|
runner = "pytest"
|
|
runner_args = []
|
|
patterns = ["*.py"]
|
|
ignore_patterns = []
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
|
|
[tool.ruff]
|
|
target-version = "py310"
|