Instructions to use agentic-ptb/grok-record with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Grok
How to use agentic-ptb/grok-record with Grok:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
| # Wait until the vLLM engine OpenAI API is up (PORT+100, not the hung router). | |
| set -euo pipefail | |
| OFFSET="${AGENTPTB_PORT_OFFSET:-500}" | |
| PORT=$((8000 + OFFSET + 100)) | |
| URL="http://127.0.0.1:${PORT}/v1/models" | |
| for i in $(seq 1 60); do | |
| if curl -sf --max-time 2 "$URL" >/dev/null; then | |
| echo "ready $URL" | |
| exit 0 | |
| fi | |
| sleep 5 | |
| done | |
| echo "timeout waiting for $URL" >&2 | |
| exit 1 | |