refactor: break agentskills single file to multiple composable modules (#3429)

* refactor agentskills to prepare for agentless

* fix import

* fix typo

* fix imports

* fix globals

* fix import

* fix import

* disable log to file to avoid auto-created log file w/ permission issue when import od in runtime

* import agentskills from OD instead from itself directly

* add back pythonpath

* remove chown since there's no log/folder
This commit is contained in:
Xingyao Wang
2024-08-18 05:18:36 +08:00
committed by GitHub
parent 3d04bd90e1
commit 8d7bf83224
19 changed files with 1401 additions and 1122 deletions

View File

@@ -81,8 +81,6 @@ RUN python opendevin/core/download.py # No-op to download assets
# opendevin:opendevin -> opendevin:app
RUN find /app \! -group app -exec chgrp app {} +
RUN chown -R opendevin:app /app/logs && chmod -R 770 /app/logs # This gets created by the download.py script
COPY --chown=opendevin:app --chmod=770 --from=frontend-builder /app/dist ./frontend/dist
COPY --chown=opendevin:app --chmod=770 ./containers/app/entrypoint.sh /app/entrypoint.sh