Authorization: Bearer ********************{
"model": "get-gpts",
"messages": [
{
"role": "user",
"content": "g-YyyyMT9XH"
}
],
"stream": false
}curl --location --request POST 'https://api.huandutech.com/v1/chat/completions' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "get-gpts",
"messages": [
{
"role": "user",
"content": "g-YyyyMT9XH"
}
],
"stream": false
}'{
"id": "chatcmpl-89D59GtSYl6LXt0JjTi8F191HcYjb",
"object": "chat.completion",
"created": 1721897018,
"model": "get-gpts",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": ""
}
}
]
}