Commit ·
07d7c5d
1
Parent(s): 7af5a14
fix: allow Codex CLI in HF container
Browse files- codex_harness.py +3 -0
codex_harness.py
CHANGED
|
@@ -50,6 +50,9 @@ class CodexHarness:
|
|
| 50 |
[
|
| 51 |
"codex",
|
| 52 |
"exec",
|
|
|
|
|
|
|
|
|
|
| 53 |
"--model",
|
| 54 |
self.model,
|
| 55 |
full_prompt,
|
|
|
|
| 50 |
[
|
| 51 |
"codex",
|
| 52 |
"exec",
|
| 53 |
+
# HF runs the app in /home/user/app, not a trusted Git worktree.
|
| 54 |
+
# This disables only Codex CLI's interactive repository guard.
|
| 55 |
+
"--skip-git-repo-check",
|
| 56 |
"--model",
|
| 57 |
self.model,
|
| 58 |
full_prompt,
|