kenken999's picture
First model version
3860419
raw
history blame
350 Bytes
#!/usr/bin/env sh
# -*- coding: utf-8 -*-
project_dir="/project"
# Run the gpt engineer script
gpt-engineer $project_dir "$@"
# Patch the permissions of the generated files to be owned by nobody except prompt file
find "$project_dir" -mindepth 1 -maxdepth 1 ! -path "$project_dir/prompt" -exec chown -R nobody:nogroup {} + -exec chmod -R 777 {} +