mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 13:53:15 +00:00
* fix: re-apply git identity on every agent invocation, source from env Cached/reconnected sandboxes weren't getting `git config --global` re-applied (the call was gated on new-sandbox creation), so commits picked up whatever identity the sandbox happened to have — sometimes an email not associated with any GitHub account, which Vercel rejects on preview deploys. Move the git config call out of the new-sandbox branch so it runs on every get_agent, and source the values from OPEN_SWE_GIT_AUTHOR_NAME / OPEN_SWE_GIT_AUTHOR_EMAIL env vars (defaulting to the existing bot identity) so forks can override without code changes. * cleanup --------- Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| integrations | ||
| middleware | ||
| tools | ||
| utils | ||
| encryption.py | ||
| prompt.py | ||
| server.py | ||
| webapp.py | ||