Files
mcphost-api/test.sh
2025-05-10 17:38:30 +03:00

11 lines
359 B
Bash
Executable File

#!/bin/bash
curl -X POST http://0.0.0.0:8000/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer fake-api-key" -d '{
"model": "mcphost-model",
"messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Tell me a joke."}
],
"temperature": 0.7
}'