Upload Agent.md with huggingface_hub
Browse files
Agent.md
CHANGED
|
@@ -14,9 +14,9 @@ This repository contains an `Automaker` instance designed to be deployed directl
|
|
| 14 |
We use the **Docker SDK** for flexibility, as Automaker is a custom Node.js application.
|
| 15 |
|
| 16 |
### HF Token
|
| 17 |
-
- The environment variable **`HF_TOKEN` will always be provided at execution time**.
|
| 18 |
- Never hardcode the token. Always read it from the environment.
|
| 19 |
-
- All monitoring and log-streaming commands rely on `HF_TOKEN`.
|
| 20 |
|
| 21 |
### Required Files
|
| 22 |
- `Dockerfile`
|
|
@@ -94,8 +94,8 @@ Monitor via Hugging Face SSE endpoints:
|
|
| 94 |
|
| 95 |
```bash
|
| 96 |
# Build logs
|
| 97 |
-
curl -N -H "Authorization: Bearer
|
| 98 |
|
| 99 |
# Run logs
|
| 100 |
-
curl -N -H "Authorization: Bearer
|
| 101 |
```
|
|
|
|
| 14 |
We use the **Docker SDK** for flexibility, as Automaker is a custom Node.js application.
|
| 15 |
|
| 16 |
### HF Token
|
| 17 |
+
- The environment variable **`$HF_TOKEN` will always be provided at execution time**.
|
| 18 |
- Never hardcode the token. Always read it from the environment.
|
| 19 |
+
- All monitoring and log-streaming commands rely on `$HF_TOKEN`.
|
| 20 |
|
| 21 |
### Required Files
|
| 22 |
- `Dockerfile`
|
|
|
|
| 94 |
|
| 95 |
```bash
|
| 96 |
# Build logs
|
| 97 |
+
curl -N -H "Authorization: Bearer $HF_TOKEN" "https://huggingface.co/api/spaces/Leon4gr45/automaker/logs/build"
|
| 98 |
|
| 99 |
# Run logs
|
| 100 |
+
curl -N -H "Authorization: Bearer $HF_TOKEN" "https://huggingface.co/api/spaces/Leon4gr45/automaker/logs/run"
|
| 101 |
```
|