openai_streaming_sse{
"model": "{{model}}",
"messages": [
{
"role": "user",
"content": "Reply with GEMINI_STREAM_OK."
}
],
"temperature": 0,
"max_tokens": 32,
"stream": true
}curl --location 'https://api.147ai.cn/v1/chat/completions' \
--header 'Accept: text/event-stream' \
--header 'Authorization: Bearer {{api_key}}' \
--header 'Content-Type: application/json' \
--data '{
"model": "{{model}}",
"messages": [
{
"role": "user",
"content": "Reply with GEMINI_STREAM_OK."
}
],
"temperature": 0,
"max_tokens": 32,
"stream": true
}'