Download patch_api_docs.sh from Leon4gr45/automaker: direct link, hf CLI and curl.
- Browser
- Download file 415 Bytes
-
https://huggingface.co/spaces/Leon4gr45/automaker/resolve/main/patch_api_docs.sh
- Command line
-
hf download hf://spaces/Leon4gr45/automaker/patch_api_docs.sh
-
curl -L -o patch_api_docs.sh https://huggingface.co/spaces/Leon4gr45/automaker/resolve/main/patch_api_docs.sh
415 Bytes
| sed -i '/path: '\''\/api\/projects'\''/i \ | |
| {\n method: '\''POST'\'',\n path: '\''/api/agent/chat'\'',\n purpose: '\''Send a message to the AI agent'\'',\n request: { message: '\''Hello agent'\'', projectPath: '\''/app/data/projects/my-project'\'' },\n response: { sessionId: '\''session-123'\'', status: '\''started'\'' },\n },' apps/server/src/api-docs.ts | |