mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-17 05:54:26 +01:00
Added make file and pyproject.toml
This commit is contained in:
21
Makefile
Normal file
21
Makefile
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
install:
|
||||||
|
@echo "Installing dependencies..."
|
||||||
|
@command -v poetry >/dev/null 2>&1 || { echo >&2 "Poetry not found, installing..."; curl -sSL https://install.python-poetry.org | python3 - ; }
|
||||||
|
poetry install
|
||||||
|
|
||||||
|
list_agents:
|
||||||
|
@echo "Listing all agents in autogpts..."
|
||||||
|
@for agent in $$(ls autogpts); do \
|
||||||
|
echo \\t$$agent; \
|
||||||
|
done
|
||||||
|
@echo \\t"forge"
|
||||||
|
|
||||||
|
|
||||||
|
benchmark_%:
|
||||||
|
@echo "Running benchmark for $*"
|
||||||
|
poetry run sh -c 'export PYTHONPATH=$$PYTHONPATH:./benchmark:./autogpts/$*; echo $$PYTHONPATH; python -m benchmark start --agent-config autogpts/$*/benchmark_config.json'
|
||||||
|
|
||||||
|
|
||||||
|
run:
|
||||||
|
python main.py
|
||||||
|
|
||||||
14
pyproject.toml
Normal file
14
pyproject.toml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
[tool.poetry]
|
||||||
|
name = "auto-gpt"
|
||||||
|
version = "0.1.0"
|
||||||
|
description = ""
|
||||||
|
authors = ["SwiftyOS <craigswift13@gmail.com>"]
|
||||||
|
readme = "README.md"
|
||||||
|
|
||||||
|
[tool.poetry.dependencies]
|
||||||
|
python = "^3.11"
|
||||||
|
|
||||||
|
|
||||||
|
[build-system]
|
||||||
|
requires = ["poetry-core"]
|
||||||
|
build-backend = "poetry.core.masonry.api"
|
||||||
Reference in New Issue
Block a user