Visitar URL original
Initial commit · ruvnet/p2pGPT@3024ab6 · GitHub
Skip to content

Commit 3024ab6

Browse files
committed
Initial commit
0 parents  commit 3024ab6

11 files changed

Lines changed: 1524 additions & 0 deletions

‎.breakpoints‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"files": {}
3+
}

‎.gitignore‎

Lines changed: 159 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,159 @@
1+
## Original ignores
2+
autogpt/keys.py
3+
autogpt/*json
4+
autogpt/node_modules/
5+
autogpt/__pycache__/keys.cpython-310.pyc
6+
package-lock.json
7+
*.pyc
8+
auto_gpt_workspace/*
9+
*.mpeg
10+
.env
11+
azure.yaml
12+
*venv/*
13+
outputs/*
14+
ai_settings.yaml
15+
last_run_ai_settings.yaml
16+
.vscode
17+
.idea/*
18+
auto-gpt.json
19+
log.txt
20+
log-ingestion.txt
21+
logs
22+
*.log
23+
*.mp3
24+
25+
# Byte-compiled / optimized / DLL files
26+
__pycache__/
27+
*.py[cod]
28+
*$py.class
29+
30+
# C extensions
31+
*.so
32+
33+
# Distribution / packaging
34+
.Python
35+
build/
36+
develop-eggs/
37+
dist/
38+
plugins/
39+
downloads/
40+
eggs/
41+
.eggs/
42+
lib/
43+
lib64/
44+
parts/
45+
sdist/
46+
var/
47+
wheels/
48+
pip-wheel-metadata/
49+
share/python-wheels/
50+
*.egg-info/
51+
.installed.cfg
52+
*.egg
53+
MANIFEST
54+
55+
# PyInstaller
56+
# Usually these files are written by a python script from a template
57+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
58+
*.manifest
59+
*.spec
60+
61+
# Installer logs
62+
pip-log.txt
63+
pip-delete-this-directory.txt
64+
65+
# Unit test / coverage reports
66+
htmlcov/
67+
.tox/
68+
.nox/
69+
.coverage
70+
.coverage.*
71+
.cache
72+
nosetests.xml
73+
coverage.xml
74+
*.cover
75+
*.py,cover
76+
.hypothesis/
77+
.pytest_cache/
78+
79+
# Translations
80+
*.mo
81+
*.pot
82+
83+
# Django stuff:
84+
*.log
85+
local_settings.py
86+
db.sqlite3
87+
db.sqlite3-journal
88+
89+
# Flask stuff:
90+
instance/
91+
.webassets-cache
92+
93+
# Scrapy stuff:
94+
.scrapy
95+
96+
# Sphinx documentation
97+
docs/_build/
98+
99+
# PyBuilder
100+
target/
101+
102+
# Jupyter Notebook
103+
.ipynb_checkpoints
104+
105+
# IPython
106+
profile_default/
107+
ipython_config.py
108+
109+
# pyenv
110+
.python-version
111+
112+
# pipenv
113+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
114+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
115+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
116+
# install all needed dependencies.
117+
#Pipfile.lock
118+
119+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
120+
__pypackages__/
121+
122+
# Celery stuff
123+
celerybeat-schedule
124+
celerybeat.pid
125+
126+
# SageMath parsed files
127+
*.sage.py
128+
129+
# Environments
130+
.env
131+
.venv
132+
env/
133+
venv/
134+
ENV/
135+
env.bak/
136+
venv.bak/
137+
138+
# Spyder project settings
139+
.spyderproject
140+
.spyproject
141+
142+
# Rope project settings
143+
.ropeproject
144+
145+
# mkdocs documentation
146+
/site
147+
148+
# mypy
149+
.mypy_cache/
150+
.dmypy.json
151+
dmypy.json
152+
153+
# Pyre type checker
154+
.pyre/
155+
llama-*
156+
vicuna-*
157+
158+
# mac
159+
.DS_Store

‎.replit‎

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
# run = "python3 scripts/main.py"
2+
run = "./startup.sh"
3+
4+
# The primary language of the repl. There can be others, though!
5+
language = "python3"
6+
# A list of globs that specify which files and directories should
7+
# be hidden in the workspace.
8+
hidden = ["venv", ".config", "**/__pycache__", "**/.mypy_cache", "**/*.pyc"]
9+
10+
# Specifies which nix channel to use when building the environment.
11+
[nix]
12+
channel = "stable-22_11"
13+
14+
[env]
15+
VIRTUAL_ENV = "/home/runner/${REPL_SLUG}/venv"
16+
PATH = "${VIRTUAL_ENV}/bin"
17+
PYTHONPATH = "$PYTHONHOME/lib/python3.10:${VIRTUAL_ENV}/lib/python3.10/site-packages"
18+
REPLIT_POETRY_PYPI_REPOSITORY = "https://package-proxy.replit.com/pypi/"
19+
MPLBACKEND = "TkAgg"
20+
POETRY_CACHE_DIR = "${HOME}/${REPL_SLUG}/.cache/pypoetry"
21+
22+
# Enable unit tests. This is only supported for a few languages.
23+
[unitTest]
24+
language = "python3"
25+
26+
# Add a debugger!
27+
[debugger]
28+
support = true
29+
30+
# How to start the debugger.
31+
[debugger.interactive]
32+
transport = "localhost:0"
33+
startCommand = ["dap-python", "main.py"]
34+
35+
# How to communicate with the debugger.
36+
[debugger.interactive.integratedAdapter]
37+
dapTcpAddress = "localhost:0"
38+
39+
# How to tell the debugger to start a debugging session.
40+
[debugger.interactive.initializeMessage]
41+
command = "initialize"
42+
type = "request"
43+
44+
[debugger.interactive.initializeMessage.arguments]
45+
adapterID = "debugpy"
46+
clientID = "replit"
47+
clientName = "replit.com"
48+
columnsStartAt1 = true
49+
linesStartAt1 = true
50+
locale = "en-us"
51+
pathFormat = "path"
52+
supportsInvalidatedEvent = true
53+
supportsProgressReporting = true
54+
supportsRunInTerminalRequest = true
55+
supportsVariablePaging = true
56+
supportsVariableType = true
57+
58+
# How to tell the debugger to start the debuggee application.
59+
[debugger.interactive.launchMessage]
60+
command = "attach"
61+
type = "request"
62+
63+
[debugger.interactive.launchMessage.arguments]
64+
logging = {}
65+
66+
# Configures the packager.
67+
[packager]
68+
language = "python3"
69+
ignoredPackages = ["unit_tests"]
70+
71+
[packager.features]
72+
enabledForHosting = false
73+
# Enable searching packages from the sidebar.
74+
packageSearch = true
75+
# Enable guessing what packages are needed from the code.
76+
guessImports = true
77+
78+
# These are the files that need to be preserved when this
79+
# language template is used as the base language template
80+
# for Python repos imported from GitHub
81+
[gitHubImport]
82+
requiredFiles = [".replit", "replit.nix", ".config", "venv"]
83+
84+
[languages]
85+
86+
[languages.python3]
87+
pattern = "**/*.py"
88+
89+
[languages.python3.languageServer]
90+
start = "pylsp"
91+
92+
[deployment]
93+
# run = ["sh", "-c", "python3 scripts/main.py"]
94+
run = "uvicorn scripts.main:app --host 0.0.0.0 --port 8080"

0 commit comments

Comments
 (0)