使用以下 curl 命令调用 API:
curl --location "${host}/v1/chat/completions" \
--header 'Content-Type: application/json' \
--header "Authorization: Bearer sk-13bda4b40341280ad124e53c5fbb90e4" \
--data '{
"stream": true,
"model": "grok-3",
"messages": [{"role": "user", "content": "你好呀!"}]
}'