Skip to content

Commit 95dfbd5

Browse files
docs(gnhf): sync README env var table from ai_skills
Config table listing every gnhf.py GNHF_* default and how to override via env var / .env vs. CLI flag. See pythoninthegrass/ai_skills skills/gnhf/README.md.
1 parent 0a16f7c commit 95dfbd5

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

‎.agents/skills/gnhf/README.md‎

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,27 @@ All parameters are optional except the task itself.
3434
agent CLIs run their own internal tool-call loop, so `ttl` alone already
3535
bounds those; omit this unless you specifically want turn-level control.
3636

37+
## Configuration
38+
39+
`scripts/gnhf.py`'s defaults below can be overridden per machine without
40+
editing the script: set the env var directly, or copy `.env.example` to
41+
`.env` in this same directory and edit values there (the file is resolved
42+
relative to the script, not the caller's cwd, and is gitignored). A CLI
43+
flag always wins over either.
44+
45+
| Env var | Default | Mode |
46+
| --- | --- | --- |
47+
| `GNHF_PROVIDER` | unset | smoke-test |
48+
| `GNHF_MODEL` | unset | smoke-test |
49+
| `GNHF_TIMEOUT` | `300` | smoke-test |
50+
| `GNHF_MAX_RETRIES` | `2` | smoke-test |
51+
| `GNHF_TTL` | `10800` | launch |
52+
| `GNHF_PROBE` | `25` | launch |
53+
| `GNHF_BASE_BACKOFF` | `75` | launch |
54+
| `GNHF_MAX_BACKOFF` | `900` | launch |
55+
| `GNHF_MAX_429` | `6` | launch |
56+
| `GNHF_TOTAL_BACKOFF_CAP` | `2700` | launch |
57+
3758
## Example
3859

3960
```text

‎skills-lock.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"source": "pythoninthegrass/ai_skills",
66
"sourceType": "github",
77
"skillPath": "skills/gnhf/SKILL.md",
8-
"computedHash": "fcf958d31253a746a3632793c2531abffe48a8b3ea723226f86b7016eb9931b7"
8+
"computedHash": "81d11088b1c71121019c6491988a4ce3949468d9c3693e91a7452087203085b8"
99
},
1010
"ollama-optimizer": {
1111
"source": "luongnv89/skills",

0 commit comments

Comments
 (0)