llmproxy/test_api.sh
Oliver Hofmann 562f6ecd9c Init
2026-04-27 18:54:27 +02:00

8 lines
184 B
Bash

curl -X POST http://localhost:8000/api/generate \
-H "Authorization: sk-admin-key" \
-H "Content-Type: application/json" \
-d '{
"model": "llama3",
"prompt": "Test"
}'